Tema: XAMPP y php
Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/05/2009, 14:38
Alejandro6
 
Fecha de Ingreso: febrero-2008
Mensajes: 5
Antigüedad: 16 años, 3 meses
Puntos: 1
Respuesta: XAMPP y php

bueno aki les van los dos codigos:
Este es el de Index:
Código HTML:
<body>
<table width="256" height="198" border="1" bordercolor="#003399">
  <tr>
    <td colspan="2"><div align="center" class="Estilo1">Pedido de libros</div></td>
  </tr>
  <tr>
    <td width="105">Terror</td>
    <td width="79"><form name="form1" method="post" action="">
      <input name="texto1" type="text" id="texto1">
    </form></td>
  </tr>
  <tr>
    <td>Aventuras</td>
    <td><input name="texto2" type="text" id="texto2"></td>
  </tr>
  <tr>
    <td>Ciencia Ficcion </td>
    <td><input name="texto3" type="text" id="texto3"></td>
  </tr>
  <tr>
    <td>Suspenso</td>
    <td><div align="center">
      <input name="texto4" type="text" id="texto4">
    </div></td>
  </tr>
  <tr>
    <td colspan="2"><form action="index2.php" method="post" name="form2">
      <div align="center">
        <input name="Enviar" type="submit" id="Enviar" value="Enviar">
      </div>
    </form></td>
  </tr>
</table>
</body> 
Y este es el de index2
Código PHP:
<?
  
echo $texto1,"<br>";
  echo 
$texto2,"<br>";
  echo 
$texto3,"<br>";
  echo 
$texto4,"<br>";
?>
Ayudenme hermanos, estoy parado en el estudio por esto y no se que puede ser?