par
cmoi » 26 déc. 2006, 14:40
j'ai corrigé en
<?php
$table = "organismes";
$sql = "SELECT * FROM " . $table. " where REF=".$_GET['REF']." order by SOCIETE";
$res = mysql_query($sql);
$nb = mysql_num_rows($res);
$i = 0;
while ($i < $nb)
{
echo $sql;
echo '<font face="Arial, Helvetica, sans-serif" size="2" color="#FF9900"><b>'.mysql_result($res, $i, "SOCIETE").'</b></font>';
un post précédent me disait : c'est parfait. C'est super... mais ça ne marche toujours pas !
j'ai corrigé en
[php]<?php
$table = "organismes";
$sql = "SELECT * FROM " . $table. " where REF=".$_GET['REF']." order by SOCIETE";
$res = mysql_query($sql);
$nb = mysql_num_rows($res);
$i = 0;
while ($i < $nb)
{
echo $sql;
echo '<font face="Arial, Helvetica, sans-serif" size="2" color="#FF9900"><b>'.mysql_result($res, $i, "SOCIETE").'</b></font>';[/php]
un post précédent me disait : c'est parfait. C'est super... mais ça ne marche toujours pas !