OK. I started programming with PHP and MySQL over the past two months and am now weeping over the wasted time spent with ASP... Anyway, I have a decent intranet setup for our company; and, I have setup a billing program to simplify things and allow everyone to see it.
The only problem I am having is, I want a random (not incremental) number generated for each bill; but, the number must also be unique for tax and billing purposes. The only number generation I have found so far simply generates the number without making sure the number is unique. How do I accomplish this feat of logic?
My server use phpMyAdmin 2.3.0 if that makes a difference.
Any help is greatly apreciated.🙂