Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
07-30-2010, 06:20 AM #1
- Join Date
- Jul 2010
- Thanked 0 Times in 0 Posts
What seems to be wrong in the line?
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /fullsize/image.php on line 131
On line 131 the code is
echo"<img id='thepic' onClick="scaleImg('thepic')" onLoad="scaleImg('thepic')" src='$image'>";
07-30-2010, 07:19 AM #2
That's a PHP error.
Ask the question in the PHP forum.
Oh, w.t.h. I don't code in PHP, but even I can see that obvious error:
You are using a " *INSIDE* of a "..." delimited string!
Either change to using apostrophes inside the "..." string or use \" to escape them.An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.