Jump to content

[SOLVED] mysql_insert_id with zerofill?


phpknight

Recommended Posts

I cannot find the LPAD function.  About the sprintf, I was hoping there was actually a function call for it that is like mysql_insert_id() but returns a padded number.  The problem is it is truncating my zerofill.  I have it working now, so it is no big deal, but it threw me at first.

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.