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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.