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 41 42 43 44 45 46 47 48
| <?php
$comp1=$_POST['comp1'];
$comp2=$_POST['comp2'];
$comp3=$_POST['comp3'];
$comp4=$_POST['comp4'];
$comp5=$_POST['comp5'];
$comp6=$_POST['comp6'];
$comp7=$_POST['comp7'];
$comp8=$_POST['comp8'];
$comp9=$_POST['comp9'];
$comp10=$_POST['comp10'];
$br="<br>";
$table1="
<table width=\"1025\" border=\"0\"
cellspacing=\"0\">
<tr align=\"left\">
<th height=\"40\" colspan=\"2\" scope=\"col\">
<div class=\"roundedcornr_box_237484\">
<div class=\"roundedcornr_top_237484\"></div>
<div class=\"roundedcornr_content_237484\">
<p>
<span class=\"Style5\">LE TITRE</span>
</p>
</div>
<div class=\"roundedcornr_bottom_237484\"><div></div></div>
</div>
</th>
</tr>
<tr>
<td height=\"20\" td width=\"162\" align=\"center\">";
// partie qui pose pb.
$table1.= ($comp1 != '') ? $comp1.$br : '';
$table1.= ($comp2 != '') ? $comp2.$br : '';
$table1.= ($comp3 != '') ? $comp3.$br : '';
$table1.= ($comp4 != '') ? $comp4.$br : '';
$table1.= ($comp5 != '') ? $comp5.$br : '';
$table1.= ($comp6 != '') ? $comp6.$br : '';
// fin de la partie qui cause pb.
$table1.=" </td></tr>
</table>";
?>
<?php echo $table1;?> |