[nycphp-talk] fwrite confusion
leam at reuel.net
Sun Nov 16 19:51:48 EST 2008
yeah...yeah...another noob question. Happy Sunday evening! ;)
The variable $name and $clean['name'] contain the same text. I'm using
Chris' suggestions while cleaning up old code. In this case the variable
contains space delimited alnum with an ending space. "Test of several
fwrite($file, "$blah $name $blah");
fwrite($file, "$blah $clean['name'] $blah" )
does not, producing:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING
Even trying to just echo "$clean['name']" fails.
Suggestions on what to read up on?
More information about the talk