Page 1 of 1

parse error on line 12 - using fwrite to replace XML file

Posted: Tue Feb 01, 2005 12:09 pm
by Storm
Hi guys/gals,

I am using Flash/PHP/XML to set up a dynamic scoreboard system. The .swf grabs data from the XML file. There is an admin .swf that the user at the game changes and submits to PHP. The problem I am having is in the PHP. I get:

Parse error: parse error in updatescore.php on line 12

edited:
I'm just kind of dumb anyway because I never had Register Globals set to ON within my test server and nothing worked. Now it's ALL good. Thanks for the escape tip.

Posted: Tue Feb 01, 2005 12:12 pm
by feyd
you are trying to add double quotes to a double quoted string, this isn't possible without escaping them.:

Code: Select all

$blah = "to show a "shape" of a circle you...";

Posted: Tue Feb 01, 2005 1:19 pm
by Storm
thanks......