[Sussex] *IMPORTANT* Christmas Dinner

Jon Fautley jon at geekpeople.net
Mon Nov 11 18:42:01 UTC 2002


On Mon, 11 Nov 2002 13:40:41 -0000
"Gareth Ablett" <garethablett at phpw.fsnet.co.uk> wrote:

> 
> $cost= $food+$train;
> 
> if ($money < $cost) {
> 
> echo "Save a bit for december";
> 
> }else if (($money < $cost)and(Date == "2002-12-17")){
> 
> echo "sorry";
> 
> }else {
> 
> echo "Woot Woot";
> 
> }
> 
> If that doesnt make sence hmm... lol

lol. I wonder what someone just randomly subbing to the list must think if that's the first mail they get. Oh well, I understand it, which is probably a good thing. 

Anyway, yes, that sounds good to me....

if ($money<$cost) {
  echo "Mummy, can I borrow some money?";
  if ($response eq 'yes') { echo "w00t!"; } else { echo "arse." };
} elseif (!$alive) {
  echo "arse.";
  } else {echo "w00t!"; }
}

Anyway :)

Back to installing Windows 98 I go...

Jon




More information about the Sussex mailing list