global $wpdb; $result = $wpdb->get_results( "SELECT id, wilaya_name FROM wilaya"); echo ""; echo ""; echo "
"; echo ""; foreach ($result as $row) { echo ""; } echo "
NameTeamPosition
" . $row->id . "" . $row->wilaya_name . "" . $row->Position . "