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. 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]; } 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 Link to comment https://forums.phpfreaks.com/topic/89075-solved-else-statement-help/#findComment-456212 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.