
23/07/2009, 10:31
|
 | Colaborador | | Fecha de Ingreso: mayo-2009 Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años, 9 meses Puntos: 1517 | |
Respuesta: DUDA actualizacion limitacion. Puedes hacerlo entonces asi
Código php:
Ver original $numero = $_POST['numero']; $canti = ($_POST['canti'] > 200 ? 200 : $_POST['canti']); $sSQL="Update numj Set canti=canti+ '$canti' Where numero='$numero'";
|