View Single Post
Old Jun 22nd, 2005, 1:03 AM   #6
foxcity911
Programmer
 
Join Date: Jun 2005
Location: Queensland
Posts: 37
Rep Power: 0 foxcity911 is on a distinguished road
Thumbs up Major Breakthrough

hi falsedragon, MAJOR BREAKTHRU. as i said before i was trying switch statements. IT WORKED. heres a snippet of a successful code:
switch ($team){
 case ($team="Adelaide Crows"):
 echo ("<TR><TD><IMG SRC = 'teams\crows.gif'></TR></TD>");
break; 
case ($team="Brisbane Lions"):
 echo ("<TR><TD><IMG SRC = 'teams\lions.gif'></TR></TD>");
}

it actually prints the team logo that corresponds with the team name!
thanks for your help!
foxcity911 is offline   Reply With Quote