SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: syntax errors

  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,643
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    syntax errors

    I need help figuring out the syntax error here
    PHP Code:
    $thumbs_line_list .= '<td><a href="/photoplog/images/'.$thumbs_line_row['userid'].'/large/'.$thumbs_line_row['filename']." rel=lightbox['Name']">';<img src="/photoplog/images/'.$thumbs_line_row['userid'].'/small/'.$thumbs_line_row['filename'].'" alt="" border="0" />'</a></td>'; 
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,806
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    try
    PHP Code:
    $thumbs_line_list .= '<td><a href="/photoplog/images/'.$thumbs_line_row['userid'].'/large/'.$thumbs_line_row['filename'].'" rel=lightbox[\'Name\']"><img src="/photoplog/images/'.$thumbs_line_row['userid'].'/small/'.$thumbs_line_row['filename'].'" alt="" border="0" /></a></td>'
    assuming lightbox['Name'] isn't a php variable...
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,643
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    thanks again spikez
    "Oh, and Jenkins--apparently your mother died this morning."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •