PHP MySQL Tips

PHP MySQL – Return your database table autoincrement back to 1

By Paul Cracknell - 8th April 2011

Database tables that auto increment generally start at 1 and keep on going up, even if all the content in the table has been deleted, the next entry will continue on from the last number.

If you would like to delete all the content from a database table and restart your table to number 1 this is how you do it.

In phpMyAdmin click on the table name that you …

Read More

Page 2 of 212