1. Home
  2. Uncategorized
  3. How Can I Insert <a Href= Into Php?

How Can I Insert <a Href= Into Php?

By WinPie Posted in: Uncategorized

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
here;
$body.=”here“;
and a few others, but they keep failing..

Get Chitika Premium
  1. ms_g Says

    Just a try: I’m not sure as well. ^_^
    $body = “You can view your post here! http://mywebsitegoeshere.com/read.php?post=“.mysql_insert_id().”&State=”.$state.”&city=”.$city + “”Post Here “;

  2. Web Programmer Says

    You error is not on this line. Try looking at the lines closely before it.

Leave a Reply

You must be logged in to post a comment.

More Interesting Things

©2011 Windows Pie, All rights reserved.