User Tools

Site Tools


informatica:linux:php:ejemplos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
informatica:linux:php:ejemplos [2009/07/09 15:11] – creado 90.168.201.68informatica:linux:php:ejemplos [2015/04/13 20:19] (current) – external edit 127.0.0.1
Line 16: Line 16:
   echo $_POST['variable'];   echo $_POST['variable'];
   ?>   ?>
 +
 +===== Con vectores array =====
 +  <html>
 +  <FORM ACTION="procesa.php" METHOD="POST">
 +  Variable:<INPUT TYPE="text" NAME="variable[]"><BR>
 +  Variable:<INPUT TYPE="text" NAME="variable[]"><BR>
 +  <INPUT TYPE="submit" VALUE="Enviar">
 +  </FORM>
 +  </html>
 +
 +  <?
 +  $array = $_POST['variable'];
 +  echo $array[0];
 +  echo $array[1];
 +  ?>
 +
 +
  
informatica/linux/php/ejemplos.1247152267.txt.gz · Last modified: 2015/04/13 20:19 (external edit)