1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
| <?php
require_once ("Connect.php");
require_once ("Connexion.php");
require_once ("ExecRequete.php");
$connexion = Connexion (NOM, PASSE, BASE, SERVEUR);
$resultat = ExecRequete ("SELECT * FROM tarif", $connexion);
while ($tarif = ObjetSuivant ($resultat))
echo '<table>';
while ($row = mysql_fetch_array($resultat)) {
echo '<tr>
<td>' . $row['civilite'] . '</td>
<td>' . $row['nom'] . '</td>
<td>' . $row['prenom'] . '</td>
<td>' . $row['adresse'] . '</td>
<td>' . $row['cp'] . '</td>
<td>' . $row['ville'] . '</td>
<td>' . $row['parrain'] . '</td>
<td>' . $row['mail'] . '</td>
</tr>';
}
echo '</table>';
?>
</h3>
<center>
<HR WIDTH=50% SIZE=8 ALIGN=CENTER NOSHADE>
</table>
</div>
</html> |
Partager