scarlson Posted February 2, 2008 Share Posted February 2, 2008 Here is my code: else { print $value[$it_val]."<br />"; } Everything this is working fine except in the else I don't want it to print if the $value[$it_val] = "gSaleRange" I am just unsure how to add that in. Quote Link to comment https://forums.phpfreaks.com/topic/89075-solved-else-statement-help/ Share on other sites More sharing options...
CerealBH Posted February 2, 2008 Share Posted February 2, 2008 else if ($value[$it_val] != "gSaleRange") { echo $value[$it_val]; } Quote Link to comment https://forums.phpfreaks.com/topic/89075-solved-else-statement-help/#findComment-456186 Share on other sites More sharing options...
scarlson Posted February 2, 2008 Author Share Posted February 2, 2008 Thanks, not sure why I didn't think about else if, duh - new to this Quote Link to comment https://forums.phpfreaks.com/topic/89075-solved-else-statement-help/#findComment-456212 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.