Im sure that this is probably an easy problem, but I am at a loss. I have a call:
$result = $wpdb->insert( 'wp_post_accept', $dbfields);
which inserts all of the rows just fine into the table, but when I try to get something out of the table, say:
$check = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM $wpdb->post_accept"));
or
$check = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM $wpdb->wp_post_accept"));
I get nothing returned. I don't know why this doesn't work, because all of my other calls to tables that I didn't create work just fine. Any help is appreciated