Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="categories">
- <?php
- include('../Connexion/Connexion.php');
- mysql_query("SET NAMES 'UTF8_bin'");
- mysql_query('SET CHARACTER SET utf8');
- $req=mysql_query("select * from categorie ") ;
- if(mysql_num_rows($req)>0)
- ?>
- <table width='15%' cellspacing=''>
- <tr><th>N°</th>
- <th>Catégorie</th>
- </tr>
- <?php
- {
- while($lin=mysql_fetch_array($req))
- { echo"<table width='20%' cellspacing='5'>";
- echo"<tr><td>";
- echo $lin["id_categorie"];
- echo "</td><td>";
- echo $lin["description"];
- echo"</td></tr></table>";
- }
- }
- echo"</table>";
- ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment