Jump to content

compare the values.


jamesxg1

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/183123-compare-the-values/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.