OK, it looks like the last query I posted here WAS ok. I seem to have somehow left a close parens ")" at the end of it - needed to go to sleep.
So with out that, it works fine. But this one doesn't:
UPDATE student_work SET sort_order = '$sort_order', delete = 'no' WHERE work_id = '1'
I get the following error (using my newly acquired knowledge of mysql_error())
You have an error in your SQL syntax near 'delete = 'no' WHERE work_id = '1'' at line 1
I'd be very greatful if anyone could help set me straight. Seeing as I consistantly get hung up on these, it might be a good idea for me to practice more with them. If anyone has a recommendation of a good book or web site which will help, that'd be great.
thanks
-Morgan