Ready to get started?Download WordPress


WP Transaction with multiple query (1 post)

  1. mhadaily
    Posted 2 years ago #

    Hello there,

    Please have a look at below code

    $db = new PDO($dsn, $user, $password);
    try {
      // do your queries here, using PDO and $db object
    } catch (PDOException $e) {

    I need to know ,is there any class or function like above to manage transactions for multiple query or something similar ?

    Really appreciate if you can help me.

Topic Closed

This topic has been closed to new replies.

About this Topic