Menu
Hi. I have a MySQL table which contains an “int” type field. This will obviously only hold numbers. I have a problem displaying these numbers on a PHP page if the number starts with a zero. These seem to get cropped off.
for example, if the number in the table was 000545, the PHP page just shows 545.
Can anyone tell me how to get around this without having to convert the field type to Text.
thanks