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 Quote 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 Quote 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. } Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.