syntax error close to a double quote (") - none on page this question feed

asked by Not Registered on 23 October 2009 2:33
PHP is throwing it's usual vague error 'check your book on syntax... error near " on line X

The scripts is are short and there is no double quote (")

I understand the "error near..." is the best I will get and that the line number is only where the program halts and to look for the text identified in the "error is near..." statement. But how is PHP pulling out a " when there is none in the scripts?

TIA

Answers

Thumb_up
Thumb_down

0%
0%
there will be a quote inside another quote. simply change the quote inside the other quote to ' instead of "
answered by Not Registered on 7 January 2010 10:31

nicht registriert  [login]




spam prevention: please repeat the code displayed below
Cryptographp PictureReload



Search
   

question tags

Bookmark this page Wong Linkarena Webnews Delicious Technorati Furl Yahoo_myweb Google_bmarks Blinklist Magnolia Windows_live Digg Netscape Stumbleupon Newsvine Reddit Tailrank Spurl Yigg