Newbie to php and need some help here... Getting this error... Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in Code (markup): this is the line.... Thanks in advance!!
What is with the alternating single/double quotes? Also, the ?> tag is never closed And you might need to escape the double quotes using a \ character or reformat the way you have it written. Are you trying to have it output $siteUrl + "photo-" + $cpId + ".html"?
Try: As Aidan has said, there's a whole mess of single and double quotes in the original, and the tags weren't closed properly. I presume you're closing the <a> tag properly after the description= bit? Jon
If the OP is not bothering to post the whole line, I don't really see how we can help to the fullest :s