Feb 19, 2004, 10:52 AM
Post #1 of 2
MySQL- What was the autonumber
This is my SQL:
$SQL="INSERT into `tickets` (attachedto,poster,time,date,subject,message,priority,name,email,url,username)
Now, in fact, before ATTACHEDTO, there is also: id.
This id is an autoincrement and it adds 1 to the last one.
The script is from a online ticket program, and i need to find out what the ID was, so i can say:
Thanks. The ticket has been logged: ID: 21235