Reply to How to figure out if a POST field exist

Your name:

Reply:


Posted by Stefan Mueller on 11/16/05 17:39

On my HTML page I can add hidden fields by pressing a button (JavaScript).
The names of the newly added hidden fields are
hidden_field_001
hidden_field_002
hidden_field_003
hidden_field_...

By clicking another button (JavaScript) I can remove some hidden fields
again.

If I'm finished then I press the submit button (method="post").
With the PHP script I try to read the hidden fields:

for ($i = 0; $i <= 9; $i++) {
$array[$i] = $_POST['hidden_field_00' . $i];
}

However, my problem is how to figure out within PHP if the hidden field
still exists or if I've deleted it before.
Stefan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация