SitePoint Sponsor

User Tag List

Results 1 to 11 of 11

Threaded View

  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Webpage title using PHP and MySQL?

    Hi all,

    I have a page where if you visit the example www.site.com/eg.php?id=5, then it will bring you to the page with row 5 details.

    However is it possible to put it in the title? I want the title to show the $rows['name'] of the database with the id from the link. I did some research and it says to include this <title><?php echo $page_title; ?></title>, however it does not display properly. Any ideas?
    Last edited by guido2004; Nov 25, 2012 at 01:14. Reason: delinked link


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
  •