• Resolved Diogo15

    (@diogo15)


    Is possible to create a New WPDB object and connect to MICROSOFT SERVER SQL database?

    $mydb = new wpdb(‘username’,’password’,’database’,’localhost’);
    $rows = $mydb->get_results(“select Name from my_table”);

    Just for retrieve some data!!

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘New WPDB and connect to MS SQL database?’ is closed to new replies.