Solutions
Using PHP function intval().
Code example: echo intval(”05″);
Returned value: 5
Using PHP function ltrim().
Code example: echo ltrim(”005″,”0″);
Returned value: 5
Ideas, releases, practical guides, and perspectives from the people building with MySQL.