Hive Global Leaders Program November 2016
get_results( “SELECT * FROM wp_hiveglp.hive_alumni WHERE class=’nov2016′ ORDER BY fname”, ARRAY_A );
foreach ($participants as $participant) {
//this makes sure there are not html injection issues, and it fixes all of the special characters
$html = array_map(function ($e) { return htmlentities($e, ENT_NOQUOTES, ‘UTF-8’);}, $participant);
echo “
“; echo ““; echo “ |
“; echo “ {$html[‘fname’]} {$html[‘lname’]}“; {$html[‘title’]}, {$html[‘organization’]}“; {$html[’email’]}“; {$html[‘bio’]} “; |
“;
}
?>