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

Best Amazon Echo: What’s the best Alexa speaker?

Kano Computer Kit Complete review: A fun DIY 'laptop' that teaches kids to code

Best pro photo editors for Mac 2018

TV & streaming : comment regarder les Jeux olympiques d’hiver 2018 ?