![]() Directorio WAP para móvil, Tablet, iPhone o Smartphone Centro de Noticias de la Universidad de Oriente |
|
|
||
domingo julio 10, 2016 El control "textarea" se diferencia del "text" en que permite el ingreso de muchas líneas. Lo probaremos implementando un problema que permita ingresar el curriculum de una persona.<html> <head> <title>Problema</title> </head> <body> <form action="pagina2.php" method="post"> Ingrese nombre:<input type="text" name="nombre"><br> Ingrese su curriculum:<br> <textarea name="curriculum"></textarea> <br> <input type="submit" value="Confirmar"> </form> </body> </html>La sintaxis de este control es bastante diferente a la del control text: <textarea name="curriculum"></textarea>Si queremos que aparezca inicializado con texto debemos disponerlo en: <textarea name="curriculum">Hola Mundo</textarea>La página PHP que procesa los dos datos ingresados en el formulario es: <html> <head> <title>Problema</title> </head> <body> <?php echo "El nombre ingresado:".$_REQUEST['nombre']; echo "<br>"; echo "El curriculum:".$_REQUEST['curriculum']; ?> </body> </html> |
||
— @INFOUDO.OFICIAL
Comenta o lee lo que otros opinan |
||
COMPÁRTELO:Indica que te gusta y comparte |
||
![]() ![]() ![]() ![]() ![]() |
||
También te puede interesar: Mostrar el calendario de la fecha actual en php |
||
« FORMULARIO (control select) | Vectores (tradicionales) » |
||
![]() |
||
Buscador:
|
||
Síguenos en las redes sociales![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mis cuentas socialesOtrasMóvil: (0426 683 6955 - 0412 8226575) - E-mail: [email protected] - [email protected] - WhatsApp: +58 (0426) 683.69.55 ![]() |
||
|
||
|