Does anyone know if one can use PHP "includes" ?
I currently use something like :
<?php
require_once("bodymain.php");
?>
This appears above the :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Then add this in the <body>:
<?php
include($result_main);
?>
It enables a rotation of content from /bodymain.php
Can anything like this work in XHTML ?
If so how would one code it ?
If not any other sugestions on 'pulling in' randomized data ?
I currently use something like :
<?php
require_once("bodymain.php");
?>
This appears above the :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Then add this in the <body>:
<?php
include($result_main);
?>
It enables a rotation of content from /bodymain.php
Can anything like this work in XHTML ?
If so how would one code it ?
If not any other sugestions on 'pulling in' randomized data ?






