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
|
<form action="organisation_voyage.php" name="test" method="post" id="test">
<?php
echo '<table width="305" border="0" cellspacing="2" cellpadding="0" bgcolor="#2274C8">';
$sql1 = "SELECT * FROM menu WHERE id IN (".$villedupanier.")";
$requete1 = mysql_query( $sql1, $link ) or die( "ERREUR MYSQL numéro: ".mysql_errno()."<br>Type de cette erreur: ".mysql_error()."<br>\n" );
while( $result1 = mysql_fetch_array( $requete1) )
{
echo '<tr>
<td width="40"><textarea COLS=35 ROWS=1 id=mesinfo'.$result["id"].' name=mesinfo'.$result["id"].'> </textarea>
</td>
<td>
</td>
</tr>';
}
?>
<?php
$sql = "SELECT DISTINCT ville FROM menu WHERE id IN (".$villedupanier.") ";
$requete = mysql_query( $sql, $link ) or die( "ERREUR MYSQL numéro: ".mysql_errno()."<br>Type de cette erreur: ".mysql_error()."<br>\n" );
while( $result = mysql_fetch_array( $requete) )
{
echo '<tr>
<td width="40">
</td>
<td>
<a href="#" onclick="document.getElementById("test").submit()">'.stripslashes($result["ville"]).'</a> |
Partager