Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/03/2016, 17:26
neocalichin
 
Fecha de Ingreso: enero-2012
Mensajes: 158
Antigüedad: 12 años, 3 meses
Puntos: 1
Información Respuesta: Activar y Desactivar textobox

hola gracias por responder probe tu codigo y esta ok
pero tengo una duda como hago para que me funcione un php dentro de otro
Código PHP:
Ver original
  1. <?php
  2.                             if ($tipocliente <> '')
  3.                             {
  4.                               echo "<input type='text'  name='articulos' id='articulos' onKeyUp='javascript:this.value=this.value.toUpperCase();' maxlength='10' value='<? if (isset($_POST['articulos'])) echo $_POST['articulos']; ?>' >";
  5.                             }
  6.                                 else
  7.                             {
  8.                               echo "<input type='text'  onKeyUp='javascript:this.value=this.value.toUpperCase();' maxlength='10' readonly >";
  9.                             }
  10.                             ?>

por que me sale error en el value