December 22, 200817 yr hello i have a php page as http://xxx/open.php?id=1000 or http://xxx/open.php?id=1001 and so on so i have one page (open.php) and when i change id=1000 or id=1001 ... the (open.php) include the page of id number so http://xxx/open.php?id=1000 include the page of 1000 and http://xxx/open.php?id=1001 include the page of 1001 and the every page (1000 or 1001 or ...) have a title what i want to do is to appear the title of page 1000 or 1001 not the title of open.php when i open http://xxx/open.php?id=1000 or http://xxx/open.php?id=1001 thanks alot
December 22, 200817 yr use a template file, you can call it up on every php page you run which can display your page titles, style scripts etc helloi have a php page as http://xxx/open.php?id=1000 or http://xxx/open.php?id=1001 and so on so i have one page (open.php) and when i change id=1000 or id=1001 ... the (open.php) include the page of id number so http://xxx/open.php?id=1000 include the page of 1000 and http://xxx/open.php?id=1001 include the page of 1001 and the every page (1000 or 1001 or ...) have a title what i want to do is to appear the title of page 1000 or 1001 not the title of open.php when i open http://xxx/open.php?id=1000 or http://xxx/open.php?id=1001 thanks alot
January 18, 200917 yr use a template file, you can call it up on every php page you run which can display your page titles, style scripts etc What does the ID refer to ? Is it a row in a database table ? Where is the title you would like to use currently stored ? in the row of the table that matches the ID ? You need to post further details for us to understand the context of this problem. Thanks Mat
Create an account or sign in to comment