freelancer Posted February 13, 2007 Author Share Posted February 13, 2007 Thank you alot mate, i swaped if with switch by the way, works fine now switch($res) { case 'Win' : $status = "#008000"; break; case 'Lost' : $status = "#FF0000"; break; case 'Tide' : $status = "#CC9900"; break; } Solved Link to comment https://forums.phpfreaks.com/topic/38010-solved-mysqlphp-help-please/page/2/#findComment-183376 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.