Thread
:
Multiple IF statements, perhaps?
View Single Post
Jun 22nd, 2005, 4:33 PM
#
8
Dizzutch
Professional Programmer
Join Date: Dec 2004
Location: Worcester, MA
Posts: 441
Rep Power:
5
(
Toggle Plain Text
)
switch ($team){ case ($team="Adelaide Crows")
switch ($team){ case ($team="Adelaide Crows")
look twice at that, it'll always be true. you have to compare $team to "Adalaide Crows"
(
Toggle Plain Text
)
while(a=10){ .... }
while(a=10){ .... }
will run forever.
(
Toggle Plain Text
)
while(a==10){ .... }
while(a==10){ .... }
will only run when a is equal to 10.
-Dizz
__________________
naked pictures of you
|
PFO F@H stats
Dizzutch
View Public Profile
Visit Dizzutch's homepage!
Find More Posts by Dizzutch