I can't get a result back from this query...any suggestion?
function per_match(){ global $wpdb; $myrows = $wpdb->get_results( "SELECT id FROM partite;"); foreach ($myrows as $myrow) { echo $myrow->id; } } add_action('get_sidebar', 'per_match');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire