$bdd = new PDO(‘mysql:host=cctotesfeasql.mysql.db;dbname=cctotesfeasql;charset=utf8’, ‘cctotesfeasql’, ‘Bike76sql’);
$q = array(‘course’ =–> $course);
$sql = ‘SELECT nom,prenom,licence,categorie,club FROM cc_registrationcourse WHERE course = :course ORDER BY categorie,club’;
$req = $bdd->
prepare($sql);
$req->execute($q);
fetch())
{
?>
Nom |
Prénom |
Licence |
Club |
Catégorie |
|
|
|
|
|