> From: "Noah" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, January 24, 2003 4:39 PM > Subject: Re: [PHP] Evaluate PHP var in stored sql statement?
> eval("\$myrow[2] = \"$myrow[2]\";");
>
> What's the deal with the leading backslash in ' eval("\$myrow[2] '?
It's escaping the $ so you keep the literal on the left hand side of the
expression.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

