I like assembling multiple SQL queries into one string and executing them simultaneously to ensure that they are executed atomically. I can’t seem to do this with PDO like I could with the MySQL functions though.
Any thoughts?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sending at once multiple queries to the MySQL server – won’t make them atomic. For atomicity, use transactions. Read: ACID @ wikipedia