You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
599 B
27 lines
599 B
|
|
<?php
|
|
|
|
#session_start();
|
|
#require_once('../bd/connexionDB.php');
|
|
#
|
|
#if(isset($_GET['user'])){
|
|
#$user = (String) trim($_GET['user']);
|
|
#
|
|
#$req = $DB->query("SELECT *
|
|
# FROM utilisateur
|
|
# WHERE nom LIKE ?
|
|
# LIMIT 10",
|
|
# array("$user%"));
|
|
#
|
|
#$req = $req->fetchALL();
|
|
$req=query(array('nom'=>'nom1','prenom'=>'prenom1'),array('nom'=>'nom2','prenom'=>'prenom2'),array('nom'=>'nom3','prenom'=>'prenom3'));
|
|
$req = $req->fetchALL();
|
|
|
|
foreach($req as $r){
|
|
?>
|
|
<div style="margin-top: 20px 0; border-bottom: 2px solid #ccc"><?= $r['nom'] . " " . $r['prenom'] ?></div><?php
|
|
}
|
|
|
|
#}
|
|
|
|
?>
|