I’m (still) building a website where people can order things. I want to give every costumer who pushed the “order” button a unique ID. Is there a nice PHP trick to do this, or should I use a database to keep track of the ID’s already given?
@Sid3335Aug 27.2006 — #If you are creating an eccomerce application you will want to store all orders in a db anyway, so it makes more sense to do it via a db. perhaps allowing customers to sign up and store details for quicker ordering.
then just use an auto increment field to store the customers, giving a unique id for each customer that signs up.