Re: eval( ) syntax
| From: | Jack Dempsey | Date: | Wed, 10 Oct 2001 19:17:39 +0000 |
| Subject: | Re: eval( ) syntax | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70727@lists.php.net to get a copy of this message | ||
Rw wrote:
> Hi,
>
> I am trying the eval( ) syntax in some code and I keep getting a PARSE error
>
> eval ("\$q[$i+1] = \"$q[$i+1]\";");
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
you escaped the first $ on the left side of the = but not the second
jack