hi all pls help me...

how to create unique reference id for all users registering in my site...??

tnx in advnc...

Recommended Answers

All 3 Replies

reference id usually will be some integer no.. u can just add a field ref id in ur database and make it auto incremental. i think it'll work better.

Simple create a field for reference id in your database and checked the autoincrement checkbox.

Asboth prior replies(+1), the ID is always created in the database as an auotincrement. there are hundreds of short tutorials on creating a simple phpsql database schema, most only occupy a single page, and the basic premise is simple.
may be worth googling, and using one. the tutorials tend to be id name address etc, but column names in the table are irrelevant, the process is correct.
I refer to This one(ten common mistakes) often

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.