SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Addict
    Join Date
    May 2005
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question wats the mistake in print ('<html><body>'.'<a href="admin.php">another question</a>'.

    Friends wats the fault with the statement.its driving me crazy...the link does not get displayed in the browser....kindly help urgently

    PHP Code:
     print ('<html><body>'.'<a href="admin.php">another question</a>'.'</body></html>'); 

  2. #2
    SitePoint Guru arunkumar's Avatar
    Join Date
    Jan 2005
    Location
    India:Chennai
    Posts
    827
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi navjesh
    this is working on my browser

    try this

    echo "<html><body><a href=\"admin.php\">another question</a></body></html>";

    ArunKumar
    Where there is a will there is a way
    ArunKumar

  3. #3
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,788
    Mentioned
    153 Post(s)
    Tagged
    3 Thread(s)
    you dont need the periods anyway!
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  4. #4
    SitePoint Guru arunkumar's Avatar
    Join Date
    Jan 2005
    Location
    India:Chennai
    Posts
    827
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got it
    Where there is a will there is a way
    ArunKumar

  5. #5
    SitePoint Addict
    Join Date
    May 2005
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi navjesh
    this is working on my browser

    try this

    echo "<html><body><a href=\"admin.php\">another question</a></body></html>";

    ArunKumar
    hi arunkumar...unfortunately not working...on mine IE

  6. #6
    SitePoint Zealot metacube's Avatar
    Join Date
    Jun 2005
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Check the source of the page, is the link in there?

  7. #7
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,788
    Mentioned
    153 Post(s)
    Tagged
    3 Thread(s)
    PHP Code:
    echo '<html><body><a href="admin.php">another question</a></body></html>'
    Assuming this is the only thing on the page....
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....


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
  •