Alecdude Posted December 10, 2008 Share Posted December 10, 2008 I'm trying to figure out how to execute an action if a value on the MySQL server is over a specific value (In this case, 15.) Any more information needed shall be given upon request. Thanks, Alec Link to comment https://forums.phpfreaks.com/topic/136293-solved-how-to-check-if-a-value-is-above-a-certain-number/ Share on other sites More sharing options...
dezkit Posted December 10, 2008 Share Posted December 10, 2008 algorithm Link to comment https://forums.phpfreaks.com/topic/136293-solved-how-to-check-if-a-value-is-above-a-certain-number/#findComment-711052 Share on other sites More sharing options...
premiso Posted December 10, 2008 Share Posted December 10, 2008 ummm assuming you've retrieved the value from sql... if ($row['yourrowcheckhere'] > 15) { // execute function here. } Link to comment https://forums.phpfreaks.com/topic/136293-solved-how-to-check-if-a-value-is-above-a-certain-number/#findComment-711057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.