Petit casse-tête
Posté : 14 juil. 2007, 15:03
Salut à tous,
Alors, voilà, c'est tout simple:
Je comprends pas d'où ça peut venir... Help-me
Bonne journée
Alors, voilà, c'est tout simple:
<?php
echo $result["article_tiers"]; // Me renvoie 0
if ($result["article_tiers"] == 1) echo "checked"; // n'affiche rien
?>
<input id="article_tiers" checked="<?php if ($result["article_tiers"] == 1) echo "checked"; ?>" type="checkbox" name="article_tiers" />
et l'input est checked...Je comprends pas d'où ça peut venir... Help-me
Bonne journée