RE: [PHP] Variable Variables
| From: | David Freeman | Date: | Wed, 29 May 2002 23:42:48 +0000 |
| Subject: | RE: [PHP] Variable Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99816@lists.php.net to get a copy of this message | ||
> I've got as far as working out that $$key will give me the
> equivalent of $form1 but how do I then work out if $form1
> has a value?
Never mind, ${$key} was what I was looking for - my test case set the
wrong variable and that's why it didn't seem to be working.
CYA, Dave