note 7441 deleted from function.max by bjori
| From: | bjori@php.net | Date: | Mon, 27 Mar 2006 11:40:38 +0000 |
| Subject: | note 7441 deleted from function.max by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-106752@lists.php.net to get a copy of this message | ||
Note Submitter: craigsrubbish at hotmail dot com
----
I came across a problem that the description above doesn't seem to make clear.
In my implementation of php3 and mysql, if you have 3 database values such as (6,8,50), the max will
come out as "8", as it seems to have trouble with integers that aren't the same
length.
in my case this was solved by making the database field ZEROFILL'ed, so the values compared
came out as (0006,0008,0050).