Eco Facts

[insert_php] global $wpdb; $items = $wpdb->get_results(“SELECT * FROM green_facts WHERE `show`=’y’ ORDER BY title”); foreach($items as $item) { print ““; print ““; print ‘‘; } [/insert_php]
$item->title 
$item->desc