et pourquoi je n'arrive pas a créer un tableau dans le code que vous m'avez donné?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
			while($restaurants=mysql_fetch_array($resultat2)) 
			{ 
			echo '<table width="100%"  border="1" cellspacing="0" cellpadding="0">';
  			echo '<tr>';
			echo     '<td>$restauranrs[1];</td>';
			echo '<td>$restaurants[2]</td>';
			echo '</tr>';
  			echo '<tr>';
			echo 	'<td>$restaurants[3]</td>';
			echo 	'<td>$restauranr[4]</td>';
			echo '</tr>';
			echo '</table>';
 
				echo "$restaurants[1]";
   //Affichage des résultats 
   			};