Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter canyonal

    (@canyonal)

    still not working.
    the code prints on the page.

    tried using <?php> opening and closing, also [insert_php], they hide the code but it doesnt function.

    is there some magic trigger to get this to function?

    Thread Starter canyonal

    (@canyonal)

    thank you for responding.

    i have not defined global $wpdb, not as far as i can tell.

    where and how is it defined?
    on the relevant page. so where on the page does it sit and do i need to describe any variables or other items?

    $wpdb->select('bitnami_wordpress');
    $myrows = $wpdb->get_results( "SELECT col1 FROM wptable" );

    or is this put in another, but accessible file? if so how and where?

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