Display column values from database

Grimemaster

New Member
I'm trying to display all the values from a specific column created by my Wordpress plugin (specifically, the ID's). Here is the code I have managed to use to display the column names, but I cannot get it to just display all the ID's. Here is the code:\[code\]function test() { global $wpdb; global $table_name; $testing = $wpdb->get_col_info('name', 0); foreach ($testing as $test) { echo $test; }}\[/code\]And here you can see the output:www.matthewruddy.com/premiumsliderCan anyone help me out?
 
Back
Top