You can use the "max" functions:
All you have to do is to read the values from your MySQL table column into an array, and feed that array to the "max" functions to find the highest value.
Quote:
|
Originally Posted by nucking_futs
Ok I do need to actually do this. I need to be able to add a number to only certain posts that a bulletin board makes. I have the part taken care of that defines which posts are which, but I really do need to do what was asked about originally.
I read something on max and array, but am not grasping it.
I am using PHP and MySQL.
Thanks!!
|