14.06.2015, 02:14
How can i get the next ID that will be created in my Database for a autoincrement field?
Example:
id | name
1 | a
2 | b
3 | c
I delete 2 + 3
next ID would be 4
how do i get the ID 4 to use it in a string:
printf("The next ID is: 4, want to insert?",nextID);
Mysql from BlueG
Example:
id | name
1 | a
2 | b
3 | c
I delete 2 + 3
next ID would be 4
how do i get the ID 4 to use it in a string:
printf("The next ID is: 4, want to insert?",nextID);
Mysql from BlueG