Jump to content

navigation Position problem in php mysql


Recommended Posts

Hi you didn't understand my point i mean to say i have created dynamic pages through custom CMS but i want the admin can change the position of the pages according to his wish for example [Home(position1), About Us(position2),Services(position3),Blog(position4),Contact(position5)) if admin changes position of Contact page from 5 to About Us in 2nd positon then how i can write query for this situation.Now i want this result [Home(position1), Contact(position2),Services(position3),Blog(position4),About Us(position5)).I have created the position in SQLbut don't know how to shuffle the name and position of the pagePlease help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...