Multiple variables
| From: | Morten Nielsen | Date: | Tue, 28 May 2002 19:25:28 +0000 |
| Subject: | Multiple variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99541@lists.php.net to get a copy of this message | ||
Hi,
I got a table, which contains a lot of text-boxes. Each textbox has a name:
Text1
Text2
Text3
etc.
Is it possible to check if they are all set using a for-loop?
I think of something like:
for($i=1;$i<10;$i++)
{
if(empty("Text"+$i))
{
do something...
}
}
regards,
Morten