could someone possibly tell me how to fix this?
The error reads:
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /home/lyss19/public_html/cutenews/search.php on line 323
I'm pretty sure this is line 323:
Link to the whole php file, if you'd like to look at it..
////////// Showing Result
echo"<br /><b><a href="$PHP_SELF?misc=search&subaction=showfull&id=$local_id&archive=$archive&cnshow=news&ucat=$item_arr&start_from=&$user_query">$item_arr</a></b>(". date("d F, Y", $item_arr) .")";
Any suggestions would be great, thanks.
You need to either escape the quotes around the href= string with a backslashes, or else use single quotes instead of double quotes there.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)