Hi guys,
I've been working on this for the past 4 hours and I'm ready to pull my hair out. ;)
All I'm trying to do is display some of the values in the Gravity Forms custom table. But no matter what parameters I adjust, I can't get it to show anything. At the same time, I can pull and display data from the WordPress default tables with a problem (e.g. wp_users, wp_links, wp_comments, etc.)
Below is the code I'm fighting with:
<?php
function show_signers() {
global $wpdb;
$mylink = $wpdb->get_row("SELECT * FROM $wpdb->rg_lead_detail WHERE id = 117");
echo "The ID is: " . $mylink->form_id;
}
show_signers();
?>
But all that shows up are the words "The ID is: ". I've verified that values <b>do</b> exist in the Gravity Forms table that I'm trying to access.
So... what am I doing wrong?
Thanks!