• Hi,

    Can i use the SQL Queries in [insert_php]?

    global $wpdb;
    
    $resultats = $wpdb->get_results( 'SELECT nom FROM $wpdb->boutique_france' ) ;
    
    var_dump($resultats);

    This query works perfectly on phpMyAdmin.

    But this code displays me a blank page…

    Thanks a lot!

    R.

    https://ww.wp.xz.cn/plugins/insert-php/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with $wpdb’ is closed to new replies.