Jump to content

Changing a variable for every item in a MySQL Table


kyles0623

Recommended Posts

 

I am trying to create a simple CMS and when someone deletes an article I want to loop through all of the articles and make it in order. For example, is I have article numbers: 1,2,3,4,5 and I delete 4, then I want to loop through all the articles so it goes and change the article number so it goes 1,2,3,4 and not 1,2,3,5.

 

Help?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.