Bonjour,
Je dois avoir un problème de syntaxe qq part.
Je veux que suivant un paramètre donné avant, un des 2 boutons radio soit coché.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
<tr>
	<?php   $check1 = "N";  ?>
      <td style="vertical-align: top; width: 659px;">Item 1</td>
 
      <td style="vertical-align: top; width: 165px; text-align: center;">
	 <input type="radio" name="item1" value="O" <?php if($check1=="O") echo 'checked' ; ?> >
	 </td>
 
      <td style="vertical-align: top; width: 182px; text-align: center;">
	<input type="radio" name="item1" value="N" <?php if($check1=="N") echo 'checked' ; ?> >  
	</td>
</tr>
Voilà ce que j'obtiens:


Je comprends pas...