How can I insert <a href= into PHP?

asdf

New member
I'm super nub.. I have the following line..

$body = "You can view your post here! http://mywebsitegoeshere.com/read.php?post=".mysql_insert_id()."&State=".$state."&city=".$city;

I'm trying to make 'here' the link but keep getting this error.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/30/6461030/html/post.php on line 56

I've tried doing something like

<a href=\"website"\">here</a>;
$body.="<a href='website'>here</a>";

and a few others, but they keep failing..
 
Back
Top