hi,
i have a field in mySQL db defined to integer(6) zerofill. as you can see it appears as 000005 on the records.
i am using mysql_insert_id() to catch the last auto_incremented value with the INSERT which i just perform.
e.g.
$last_value = mysql_insert_id()
and then i was to print this out, so i do:
echo "$last_value";
problem is, it appears as 5! but not 000005.
how can i enable the integer type variable in PHP to include the zero's too?
thanks again,
Daarius ...