embiding a link in a variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tara83
    New Member
    • Feb 2007
    • 11

    embiding a link in a variable

    i'm working on a project where i need to embed an html link in a variable


    $link = "<a href=\"update.p hp?id='.$row['id'].\'">Update</a>";


    and i keep getting this:

    Parse error: parse error, unexpected T_ENCAPSED_AND_ WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING on line 88


    any idea what is the right syntax


    hope some one can help
  • Tara83
    New Member
    • Feb 2007
    • 11

    #2
    sorry

    can the admin delete this post i made another one by mistake

    Comment

    Working...