note 10840 added to Variables from outside PHP
| From: | wintermute at php2 dot chek dot com | Date: | Tue, 23 Jan 2001 15:03:24 +0000 |
| Subject: | note 10840 added to Variables from outside PHP | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10180@lists.php.net to get a copy of this message | ||
I have a form that is put together from questions in a database. These are submitted as an array
like $question["$question_num"] (question number passed as a key so that I don't need
to worry about them changing if they get sorted)
These are then stepped through with
do
{
.
.
.
}
while (next($questions));
What happens is that if any field is blank, the fields after this are not dealt with. I'm
trying to find a workaround for this, but for the moment it's something to watch out for.
http://www.php.net/manual/en/language.variables.external.php