View Single Post
  #776  
Old June 2nd, 2004, 05:06 PM
Ragnarok's Avatar

Ragnarok Ragnarok is offline
General
 
Join Date: Mar 2002
Location: Indiana
Posts: 3,229
Thanks: 0
Thanked 0 Times in 0 Posts
Ragnarok is on a distinguished road
Default Re: Jokes and Riddles Centre

$davidsjoke = funny;

if ($davidsjoke == funny)
{
echo 'LOL!';
}
else
{
echo 'That was lame';
}


Or we could do it this way:

$funnyjoke = true;

if ($funnyjoke == true)
{
echo 'LOL!';
}
else if ($funnyjoke == false)
{
echo 'That was lame';
}

I could do it many other ways but this is enough.

[ June 02, 2004, 17:42: Message edited by: Ragnarok ]
__________________
Ragnarok - Hevordian Story Thread
-------------------
I think...therefore I am confused.
They were armed. With guns, said Omari.
Canadians. With guns. And a warship. What is this world coming to?
The dreaded derelict dwelling two ton devil bunny!
Every ship can be a minesweeper... Once
Reply With Quote