Hive Global Leaders Program January 2015
get_results( “SELECT * FROM wp_hiveglp.hive_alumni WHERE class=’jan2015′”, 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[‘organization’]}“; {$html[’email’]}“; {$html[‘bio’]} “; |
“;
}
?>