View Single Post
Old Jun 22nd, 2005, 4:33 PM   #8
Dizzutch
Professional Programmer
 
Dizzutch's Avatar
 
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power: 5 Dizzutch is on a distinguished road
Send a message via ICQ to Dizzutch Send a message via AIM to Dizzutch Send a message via MSN to Dizzutch Send a message via Yahoo to Dizzutch
switch ($team){
 case ($team="Adelaide Crows")
look twice at that, it'll always be true. you have to compare $team to "Adalaide Crows"

while(a=10){ .... }
will run forever.

while(a==10){ .... }
will only run when a is equal to 10.
-Dizz
__________________
naked pictures of you | PFO F@H stats
Dizzutch is offline   Reply With Quote