Jump to content

[SOLVED] Reset Auto Index


dropfaith

Recommended Posts

title says it all i just need to reset the auto index Id back to 1 i added some new features to my site and the ids need to be auto incremented along with the article Id

 

so if user does article 1  rating adds an Id of 1

 

yes i have phpmyadmin

 

cuase currently my article id Is 38 even tho i have no artlcles from all the tests ive done

Link to comment
Share on other sites

If you are resetting back to 1 then you pribably need an empty table. There would be a problem if the database tried to duplicate an ID. Easyest way for me is to go to phpMyAdmin and when the table is empty go to Operations on the top. You can set the value of one there.

 

Desmond.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.