DiamondLil
Technical User
Hi all.
I'm trying to delete an entry according to an auto-increment id in a MySQL db table, and it does delete the record, but it doesn't automatically fix the id #'s so that the next record would take over the deleted one's ID #. I didn't want any break in the series of ID#'s after deleting the record.
here is the link:
this is what I'm using :
$query="DELETE FROM prologiloads WHERE id=$deleteid";
mysql_query($query);
What should I be using...?
Be gentle with me, I'm new....
I'm trying to delete an entry according to an auto-increment id in a MySQL db table, and it does delete the record, but it doesn't automatically fix the id #'s so that the next record would take over the deleted one's ID #. I didn't want any break in the series of ID#'s after deleting the record.
here is the link:
this is what I'm using :
$query="DELETE FROM prologiloads WHERE id=$deleteid";
mysql_query($query);
What should I be using...?
Be gentle with me, I'm new....