FOEYDO 19:16 28 Jan 2008

Hi, how can I run two mysql queries at once, where one thing is x, alter another field

  CodeMeister 09:21 29 Jan 2008

I think you're probably referring to transactions which treat one or more queries as one atomic action on the database. If one query fails then the whole transaction rolls back, otherwise all of the changes are committed to the database.

MySQL 5 also supports stored procedures which may help you. Also have a look at the MySQLi PHP interface.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

These brilliant Lego posters show just what children's imaginations are capable of

Mac power user tips and hidden tricks

Comment réinitialiser votre PC, ordinateur portable ou tablette Windows ?