Include?
Posted: Fri Jun 17, 2005 9:28 pm
Hey,
Im using a javascript function inside my header.php, which I include on every page. On a certain page I want the header.php to change its contents a little so that the javascript will run (by changing the body tag to body="cookiecheck()") . How do I tell the included page to execute the change?
Sessions or Cookies or ______________ ?
Is there any way to include like this:
...were there is a $_GET value?
Thanks!
-Colin J
Im using a javascript function inside my header.php, which I include on every page. On a certain page I want the header.php to change its contents a little so that the javascript will run (by changing the body tag to body="cookiecheck()") . How do I tell the included page to execute the change?
Sessions or Cookies or ______________ ?
Is there any way to include like this:
Code: Select all
<?php include('header.php?id=go'); ?>Thanks!
-Colin J