OMG ... are you searching for everything i post and help me with it ? ... or is it coincidence ?
Anyway, i have edited the script to be like this :
Now this means that the table's name will be the username, and the field where the code must check if there is a number like it or not s called "tickets".
What your code does is generate the number and check if it exists (then it will start the process all over again).
But if the number doesn't exist, your code doesn't store the number in the field ... there's a query missing ... am i right or wrong ??
Waiting your reply.
Best Regards And thank again;
PHPFREEK