i've got hundreds of people joining my website and create an membership id for them. i just created a new column in the database called user_no
.
- whats the mysql query for incrementing the membership no.
- is it possible to start with AE then numbers ie: AE0001, AE0002, .... and it starts with 4 number not AE1, AE2..
mysql query:
UPDATE user SET user_no=..??
and on PHP side, how do i increment it? if there is a new member join in.
$db->query("INSERT INTO user (user_no) VALUES(AE'$user_no')");