I know rc69 is really good with this. I hope he's got an answer.
Anyways, so I have a table built like such
ID | Info
1 Blah
2 Poo!
So, I'm going to insert another row
INSERT INTO table (info) VALUES ('w00t')
Now, what I'd like to know how to return the inserted row ID for the ID field. So the next should be 3 but I want to return this number to me. But it may not be 3 in some cases (if I deleted a row) so it could be 4. I just want it to return the inserted row ID.
Hope I explained it well,
Thanks in advance
