note 7728 added to Variable Functions
| From: | fk at fkhan dot screaming dot net | Date: | Sat, 12 Aug 2000 15:15:43 +0000 |
| Subject: | note 7728 added to Variable Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1494@lists.php.net to get a copy of this message | ||
I have a form with lots of checkboxes and the name=tag[$row[0]] so i end up with tag[1], tag[2]
etc.. this form is submitted and a function is called to process the form.
In that function, I have a query followed by a while loop and within that while loop, I have global
$tag$row[0].
This works fine with php 4.0 but my ISP upgraded to 4.0.1pl2 and I get a parse error.
How can I overcome this prob.
regards
FK
http://www.php.net/manual/ref.var.php