[FX.php List] Why doesn't this parse?

DC dan.cynosure at dbmscan.com
Tue May 20 11:23:51 MDT 2008


does this help?

echo "This is the value of the var named $name: {${$name}}";

i found it on the PHP strings page.

http://www.php.net/manual/en/language.types.string.php

cheers,
dan

Jonathan Schwartz wrote:
> Hi Folks,
> 
> I'm still pounding away trying to resolve the problem I posted last 
> week: successfully parsing a string that contains variables, where the 
> string comes from a form.
> 
> I tried explaining this in words twice, but managed to muddle the 
> problem. Instead, I have created a working example:
> 
> http://www.exit445.com/test.php
> 
> The page shows 4 different ways to parse the sample string.  The one I 
> need...where the string comes from a form field.... doesn't work.
> 
> Please visit the page and see if you can tell me why .
> 
> Thank You!
> 
> jonathan


More information about the FX.php_List mailing list