1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| while($row = mysql_fetch_array($result)) {
echo '<table class="coltableau">'."\n";
echo '<tr>';
echo '<td class="coltableau1">'.$row['nom_article'].'</td>';
echo '<td class="coltableau2" >'.$row['ref_article'].'</td>';
echo '<td class="coltableau3" >'.$prix_public_ttc2.'</td>';
echo '<td class="coltableau4" >'.$row['poids_article'].'</td>';
echo '<td class="coltableau5" >
<form method="post" action="">
<input name="quantite_article" type="text" id="quantite" value='.$row['quantite_article'].'> <br/>
<input type="submit" name="btmodif" value="Modifier?"/>
</form>
</td>';
echo '<td class="coltableau6" >'.$prix2.' </td>';
echo '</tr>'."\n";
}
echo '</table>'."\n"; |