ok. I have a double problem. I've been reading and reading online and I'm rather stuck, and the answer is likely right under my nose.
First thing is I need to insert a random number into a column on a table.
I'm guessing I must first use this:
rand(0,100);
However, the actual 'insert into field" etc... part is where I'm a wee bit stuck.
The second problem is this:
In this database, the table has information inserted. One of the fields not inserted (Auto-filled in by Auto_increment) will hold a number that I need to echo to the webpage so that the person who just sent the info to the table has it and can write it down.
This part, I'm not QUITE sure where to start. I'm not asking for a full out script, but maybe a few ideas or hints of where to start looking.
If you need to look at the entire script, let me know. And thank you ahead of time!
As well, is there ANY way to reset Auto_increment?
PS - I know how to insert data, however, getting the random nmber to insert is the trick I'm stuck with, not the actual insert code.