I have a url that opens up...
here is my coding...
<?switch ('$res'){
case '800':
$nwid = '100';
break;
case '1024':
$nwid = '200';
break;
default:
$nwid = '300';
}
?>
<?
echo $nwid;
?>
What do I have to do to get the value to show up correctly... it should be 200 but shows up 300 so I think I am referencing res wrong...
here is my coding...
<?switch ('$res'){
case '800':
$nwid = '100';
break;
case '1024':
$nwid = '200';
break;
default:
$nwid = '300';
}
?>
<?
echo $nwid;
?>
What do I have to do to get the value to show up correctly... it should be 200 but shows up 300 so I think I am referencing res wrong...