resetting the pointer in a MySQL database table
| From: | Jamie Saunders | Date: | Wed, 09 May 2001 15:59:39 +0000 |
| Subject: | resetting the pointer in a MySQL database table | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52128@lists.php.net to get a copy of this message | ||
Hi,
I have a table set-up so that every time you enter an item, a unique primary key is assigned to it (using auto-increment).
However, I've deleted all data from the table but when I go to add an item the pointer is still set at the number of the last item I entered. Is there any way of resetting it?
Thanks.
Jamie Saunders
Mail: webprogramming@jamie-s.co.uk
Web: http://jamie-s.co.uk