Jump to content

[SOLVED] Is It Possible to Save leading Zeroes in Database?


cmaclennan

Recommended Posts

Hi Guys, I am wondering if there is a way to save the preceding zeroes of an ID? I have the field set to auto increment and can display them with the preceding zeroes using zerofil however when i pass the id to another page it passes with the zeroes and comes as an invalid id as the zeroes arent saved in the database, any help would be much appreciated.

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.