Dynamic sites - title change

Codes here !

Moderators: egami, macek, gesf

Post Reply
TheSameFace

Tue Jan 21, 2003 7:31 am

Hi, how can I change the <title>???</title> on a dynamic page. My site is build using php and mysql DB.
Thnx

User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Tue Jan 21, 2003 1:38 pm

If you send a GET variable containing the title -->

Code: Select all

<title>
<?php echo $HTTP_GET_VARS["my_title"]; ?>
</title>


If you use POST method, then change for $HTTP_POST_VARS["my_title"]

If you keep your titles in a database, then tell us your specific case.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests