I want to insert data into a mysql database with orders for my site.
So i store the username and an auto increment order number in the database.
The question is, how i extract the order number out again.
I have tried this:
SELECT ordernumber FROM transactions WHERE.....
How to finsh this?