[nycphp-talk] Eval question
drydell at optonline.net
drydell at optonline.net
Thu Oct 12 12:03:48 EDT 2006
> Where the calc_str comes first at design time, while $x and $y
> are determined at run time. With this restriction using double
> quotes "$x * $y" in the proposed solution below will not work either.
>
you can escape the $ in double quotes to represent the literal $var instead of the variable $var - "\$x * \$y"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20061012/6e788d34/attachment.html>
More information about the talk
mailing list