I have website that people can come and modify sites via a web interface. I have a navigational bar that I want people to be able to order buttons on their own. Each page has a table in the database and a listing of all the categories to be listed on the navigational bar.
Site/server stats
Redhat 7.0 running apache with php, mysql
IE
Database: WebPages
Table: TestPage
Navbar | Order | Link to image
Main 1 /path/to/image and URL
Pictures 3 /path/to/image and URL
News 4 /path/to/image and URL
Events 2 /path/to/image and URL
Links 5 /path/to/image and URL
I want for mysql to display the array by the order number, not in the order they are listed in the database. Anyone know how to do this?
To make it a bit more compliated....I want to have php echo the /path/to/image and URL which is written in html so that it can be displayed on the page.
Site/server stats
Redhat 7.0 running apache with php, mysql
IE
Database: WebPages
Table: TestPage
Navbar | Order | Link to image
Main 1 /path/to/image and URL
Pictures 3 /path/to/image and URL
News 4 /path/to/image and URL
Events 2 /path/to/image and URL
Links 5 /path/to/image and URL
I want for mysql to display the array by the order number, not in the order they are listed in the database. Anyone know how to do this?
To make it a bit more compliated....I want to have php echo the /path/to/image and URL which is written in html so that it can be displayed on the page.
