SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trying to add an additional link

    } else { // If no SESSION id is set, which means we have a person who is not logged in
    $interactionBox = '<div style="border:#CCC 2px solid; padding:5px; background-color:#E4E4E4; color:#999; font-size:13px;">
    <a href="makeareservation.php">Make A Reservation</a> or <a href="ckin.php">CHECK IN</a> to interact with ' . $username . '
    </div>';
    $the_anno_form = '<div style="background-color:#BDF; border:#999 1px solid; padding:8px;">
    <textarea name="anno_field" rows="3" style="width:99%;"></textarea>
    <a href="makeareservation.php">Make A Reservation</a> or <a href="ckin.php">CHECK IN</a> to write on ' . $username . '\'s Announcement Board
    </div>';
    }

    In my edit profile page (error response), Im trying to add an additional link. Im trying to add ckin.php.
    What am I doing wrong?

    Thanks in advance.
    Scotty

  2. #2
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My "error" is that it shows the first link and not the second one. I want both to titles and links to show.

    THANK U!

  3. #3
    SitePoint Addict tom8's Avatar
    Join Date
    Mar 2012
    Location
    New Jersey
    Posts
    310
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Maybe your SESSION is always set. Check for that.

    Also, your request is not too clear, at least to me.


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
  •