jamesxg1 Posted November 27, 2009 Share Posted November 27, 2009 Hiya peoples, If I have $tescototal |||| $asdatotal |||| $morrisonstotal them vars how would i make it so that i can compare all of them and whatever is the lowest echo the print and the name of the store. For instance $morrisonstotal returns the lowest i want to be able to strip the var of its name and echo it. Many thanks James. Quote Link to comment https://forums.phpfreaks.com/topic/183123-compare-the-values/ Share on other sites More sharing options...
Daniel0 Posted November 27, 2009 Share Posted November 27, 2009 min Quote Link to comment https://forums.phpfreaks.com/topic/183123-compare-the-values/#findComment-966451 Share on other sites More sharing options...
jamesxg1 Posted November 27, 2009 Author Share Posted November 27, 2009 ***SOLVED*** Cheers Daniel. Quote Link to comment https://forums.phpfreaks.com/topic/183123-compare-the-values/#findComment-966456 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.