I am trying to use the Class Reference/wpdb
I have the following code:
$mylink = $wpdb->get_results( "SELECT post, FROM poll" ); echo $mylink;
Yet nothing is outputted….can someone better explain how to pull a whole row from a specific table.
I read this as storing all values from row post into an array (select row post from table poll) and I think it should return (based on $mylink ) should then show me the number that is in row 3.
Any help better explaining would be much appreciated.
- The topic ‘Using "wpdb"’ is closed to new replies.