Jump to content

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, Please help :(


paperplane

Recommended Posts

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,

expecting T_STRING or T_VARIABLE or T_NUM_STRING

 

 

$listhtml .= "<a href=\"$latest['cat_title']/$latest[haha]\" title=\"Details for $latest[haha]\">$latest[haha] ($date)</a>\n";

 

so this is the line it says this error is originating from. I dont know any php..if anyoen can help that would be great. Thanks in  advance :)

A lot of times, that error is the result of a problem one or two lines before the number it reports. Post more of your code -- use the code tags (it's the button with the hash mark '#' on it or the one that says PHP) so it is easier to read.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.