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:
<a href=\"http://mywebsitegoeshere.com/read.php?
post=".mysql_insert_id()."&State=".$state."&city=".$city\">
<a href=\"http://mywebsitegoeshere.com/read.php?
post=".mysql_insert_id()."&State=".$state."&city=".$city"\">";
Both were fail..
Thanks in advance.
$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:
<a href=\"http://mywebsitegoeshere.com/read.php?
post=".mysql_insert_id()."&State=".$state."&city=".$city\">
<a href=\"http://mywebsitegoeshere.com/read.php?
post=".mysql_insert_id()."&State=".$state."&city=".$city"\">";
Both were fail..
Thanks in advance.