Ver Mensaje Individual
  #11 (permalink)  
Antiguo 03/03/2006, 14:00
Avatar de carlosfocus
carlosfocus
 
Fecha de Ingreso: enero-2006
Ubicación: Venezuela
Mensajes: 823
Antigüedad: 18 años, 3 meses
Puntos: 0
asi

Código PHP:

  <?php
  $op
=$_POST['op'];
?>
<table width="299" border="0" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                                  <tr>
                                    <td width="25" bgcolor="#E4E9E9"><label>
                                      
                       <input type="checkbox" name="op[]" value="1" <?php if ($op[0]=="1") echo "checked onclick='this.checked=true;'";?>>
                                      </label></td>
                                    <td width="375" bgcolor="#E4E9E9">RFQ sent to the manufacturer</td>
                                  </tr>
                              <tr>
                                <td bgcolor="#E4E9E9"><input type="checkbox" name="op[]" value="1" <?php if ($op[1]=="1") echo "checked onclick='this.checked=true;'";?>></td><td bgcolor="#E4E9E9">Quotation sent to customer</td>
                                  </tr>
                              <tr>
                                <td bgcolor="#E4E9E9"><input type="checkbox" name="op[]" value="1" <?php if ($op[3]=="1") echo "checked disabled";?>></td>
                                    <td bgcolor="#E4E9E9">Sales Order accepted </td>
                                  </tr>
                              <tr>
                                <td bgcolor="#E4E9E9"><input type="checkbox" name="op[]" value="1" <?php if ($op[4]=="1") echo "checked disabled";?>></td><td bgcolor="#E4E9E9">Waiting for Payment</td>
                                  </tr>
                              <tr>
                                <td bgcolor="#E4E9E9"><input type="checkbox" name="op[]" value="1" <?php if ($op[5]=="1") echo "checked disabled";?>></td><td bgcolor="#E4E9E9">Purchase Order sent to Manufacturer</td>
                                  </tr>
                              <tr>
                                <td bgcolor="#E4E9E9"><input type="checkbox" name="op[]" value="1" <?php if ($op[6]=="1") echo "checked disabled";?>></td><td bgcolor="#E4E9E9">Product has been received</td>
                                  </tr>
                              <tr>
                                <td bgcolor="#E4E9E9"><input type="checkbox" name="op[]" value="1" <?php if ($op[7]=="1") echo "checked disabled";?>></td><td bgcolor="#E4E9E9">Product delivered to customer</td>
                                  </tr>
                              <tr>
                                <td bgcolor="#E4E9E9"><input type="checkbox" name="op[]" value="1" <?php if ($op[8]=="1") echo "checked disabled";?>></td><td bgcolor="#E4E9E9">Order has been closed</td>
                                  </tr>
                                                                                    </table>
__________________
Carlos Herrera
Web Developer
www.carlos.com.ve
Para descargar archivos propios a su Teléfono Mobil? www.carlosfocus.com