Dynamic sites - title change

Codes here !

Moderators: egami, macek, gesf

Post Reply

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.

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

Tue Jan 21, 2003 1:38 pm

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

Code: Select all

<?php echo $HTTP_GET_VARS["my_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