Jump to content

[SOLVED] UPDATE lowest id


GetYourArse

Recommended Posts

Ah!  *Smacks forehead*  That's right.  I've read that but didn't remember.

 

From MySQL manual:  "Currently, you cannot update a table and select from the same table in a subquery."

 

You'll have to use two seperate queries.  Either save it in a PHP variable or in a MySQL session variable.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.