Sipt please help

  • Thread starter yaboo
  • Start date
4
0
script please help

PHP:
<?php
$time=date('H');
if($time<=10){
	$say='Hi';
}
else {
	$say='bye';
}
echo $say.'it is now '.date('H');
?>
it does not work,can u help me ???

TNX
 
Last edited:
551
1
Edit: actually no, I think that was wrong.

Are you getting error messages? The code works fine on my machine.
 
Last edited:
Top