i just came out of my brain death and i thought "maybe a switch statement would work". do u think it could work? heres what ive tried.
switch ($team){
case ($team = "Adelaide Crows"):
echo ("<TR><TD><IMG SRC = 'teams\crows.gif'></TR></TD>"); im fairly ignorant when it comes to switch statements though. how would i add a second case in there. eg i would want it to look like:
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>");
etc.
is there a way i can make this switch statement work like this? any input from anyone is very welcome.
thanks