I have a cms set up for inputting an image, thumb, title, pdf, and eps. When input the database assigns an ID number. The front end displays each upload by ID number. I'm trying to set up the back end so that a user can re-order by changing the ID number. I can get it to display the ID number in an editable text area, display thumb and title for each entry. With the code below it doesn't update the database ID number when I save. What am I doing wrong here? (Just to let you know this code is a modified version of my 'delete entry' code that works)
<?php if($session->logged_in){
mysql_connect("localhost", "yeee", "eeeee") or die(mysql_error()) ; mysql_select_db("eeeeee") or die(mysql_error()) ;
if(!isset($cmd)) {
$result = mysql_query("select * from test order by id");