<?php
ob_start();
?>
<?php
$hour = date('G'); //This outputs the current hour in 0 - 23 (24 hour format)
if($hour >= 21 || $hour <= 0)
{
?>
........................webpage with flash..............................
<strong><?php <--- You're missing this</strong>
}
else
{
?>
........................another webpage with flash.......................
<?php
include_once "replaceObjEmbed.php";
echo replaceObjEmbed(ob_get_clean());
?>
stymiee
He's No Good To Me Dead
3,360 posts since May 2006
Reputation Points: 161
Solved Threads: 38