Example #1
0
<h2>D&eacute;couvrez nos articles en vente</h2>
<?php 
$mg = new ArticleManager($db);
$liste_types = $mg->getListeTypes();
$liste_articles = $mg->getListeArticles();
//nombre d'élt du tableau de resultset
$nbr = count($liste_types);
$nbr2 = count($liste_articles);
?>


<form action="<?php 
print $_SERVER['PHP_SELF'];
?>
" method="get">
 

</form>



<form action="<?php 
print $_SERVER['PHP_SELF'];
?>
" method="get">
    <table>
        <tr>
            <td>
                <select name="choix" id="choix"> 
                    <option value="">Faites votre choix</option>
<?php