SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    May 2011
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up whats wrong with this?

    <td colspan="1" valign="top"> <a target="_blank" href="http://www.facebook.com/profile.php?id=".<?=$Facebook?><img src="image/facebook_account.png" border="0" /> </td>
    cant get the image to show up

  2. #2
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,748
    Mentioned
    69 Post(s)
    Tagged
    0 Thread(s)
    Code:
    <td colspan="1" valign="top"> 
    <a target="_blank" href="http://www.facebook.com/profile.php?id=".<?=$Facebook?>________________
    <img src="image/facebook_account.png" border="0" /> 
    </td>
    I spy with my little eye an unclosed HTML tag.

    EDIT: Exaggerated for effect.

  3. #3
    SitePoint Mentor silver trophy
    Rubble's Avatar
    Join Date
    Dec 2005
    Location
    Cambridge, England
    Posts
    2,357
    Mentioned
    80 Post(s)
    Tagged
    3 Thread(s)
    This wrong as well?
    PHP Code:
    id=".<?=$Facebook?>
    Should be:
    PHP Code:
    id=<?=$Facebook?>">
    Added in the closing > as well

  4. #4
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,748
    Mentioned
    69 Post(s)
    Tagged
    0 Thread(s)
    You added the closing >, and took away the opening " !

    PHP Code:
    id="<?=$Facebook?>">
    PS: I wouldn't personally use shorttags, but its still valid.


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
  •