
What's up with the spaces? :p
I'll code it like you sir:
Enjoy your read.PHP Code:<?php
if(date('l')=='saturday'||date('l')=='sunday'){
$day='monday';
}else{
$day='friday';
}
$date=date('d/m/Y',strtotime("next {$day}"));
echo 'The uniform for '.$date.'<br /> • <i>'.$uniform[ 'uniform' ].'</i>';
?>
Last edited by Protege; 12-10-2009 at 07:07 PM.
Hi, names James. I am a web developer.
That looks like its working brill; thanks!
Want to hide these adverts? Register an account for free!