boxcarracer8792
New member
Pretty self explanatory...
Here is my line of code, but it does not work because the field is a primary key.
The id is used to sort the pictures, and I want to be able to move the pictures around.
mysql_query("UPDATE pictures SET id = '$pict02' WHERE id='$pict01'");
Here is my line of code, but it does not work because the field is a primary key.
The id is used to sort the pictures, and I want to be able to move the pictures around.
mysql_query("UPDATE pictures SET id = '$pict02' WHERE id='$pict01'");