homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Need Ticket Number generating and updating in mysql php script needed
nani nisha06

 4:28 pm on Oct 5, 2012 (gmt 0)

Hi Friends,

I am back with the another requirement.

I want a PHP code which need to generate a Auto increment number unique number with reauired feilds please let me know who i can code this scrip.




 7:22 pm on Oct 14, 2012 (gmt 0)

Auto incremented number? Or unique number? An auto-incremented number should be a unique number but you could have a unique number that is NOT an auto-incremented number.


 5:35 am on Nov 1, 2012 (gmt 0)

If the site won't be busy, just use time(), it will change every second to a new unique number. Of course, two people visiting the same second will be a problem!

You could use ip2long()+time(); that will give you a unique number per IP per second.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved