(I've moved your post into its own thread - please don't hijack others' threads!)
aleez wrote:I really need this
Do you? Are you sure? Or do you instead just need a normal auto_increment column, and then do something like this:
$row = mysql_fetch_assoc($result_set);
echo sprintf('%010s', $row['id']);
EDIT: Otherwise, the MySQL equivalent would be to define the column as INT(10) ZEROFILL.