> How can I find the highest integer value in a result set like: > 1 > 10 > 11 > 2 > 3 > a > ab > abc
If the table isn't huge, you could pull back all the values and try PHP's natsort() function. That will apply a natural sort algorithm, ordering the numbers as you expect, but I'm unsure whether the character values will be higher or lower than the numbers. Regards James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]