saikishore
02-24-2009, 09:38 AM
Hi frnds...
i need to select few lines of data from my db table..present i am useing this one..but i got some error...plz check this one....
$blog="select sno,title,name,SUBSTRING_INDEX(content, "\n", 5 ) from blogs limit 1";
when i using the above query i got this error..plz resolve this one...
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in ....
and
Parse error: syntax error, unexpected T_STRING in....
i need to select few lines of data from my db table..present i am useing this one..but i got some error...plz check this one....
$blog="select sno,title,name,SUBSTRING_INDEX(content, "\n", 5 ) from blogs limit 1";
when i using the above query i got this error..plz resolve this one...
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in ....
and
Parse error: syntax error, unexpected T_STRING in....