Shadowing Posted January 11, 2012 Author Share Posted January 11, 2012 I just realize something using the if statements to advoid deviding wouldnt work if I chose to have two of the variables set to 0. id have to make if else statements saying if two are set to 0 as well. Link to comment Share on other sites More sharing options...
Shadowing Posted January 11, 2012 Author Share Posted January 11, 2012 Ahh i figured it out how to make it exclude 0's <?php $lowest = min(array_filter(array($sym, $res, $naq))); ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.