Displaying 1 result from an estimated 1 matches for "valueoffoo".
Did you mean:
valueoff
2007 Feb 15
2
underscores ($name_$foo) in string assignments
Hello
In a component, I was trying to do:
$bar = "lets make a new string with $name_$foo in it."
however the "$name_" fails to appear in the resulting string:
"lets make a new string with valueOfFoo in it."
Is there something special about $name_ here?
If I replace the underscore with a dash (... $name-$foo ... ) it
works fine.
thanks
Jesse
Jesse Reynolds
Virtual Artists Pty Ltd - http://www.va.com.au/
Phone: 08 8223 2288 Mobile: 0414 669 790