Ver Mensaje Individual
  #12 (permalink)  
Antiguo 08/11/2010, 13:12
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: Solicito Apoyo??

a.php

Código HTML:
Ver originalCopiar
1. <form action="b.php" method="post">
2. <input type="text" name="a" />
3. <input type="submit" />
4. </form>
b.php

Código PHP:
Ver originalCopiar
1. <?php
2. session_start();
3. $_SESSION['a'] = $_POST['a'];
4. ?>
5. <form action="c.php" method="post">
6. <input type="text" name="b" />
7. <input type="submit" />
8. </form>
c.php

Código PHP:
Ver originalCopiar
1. <?php
2. session_start();
3. $a = $_SESSION['a'];
4. $b = $_POST['b'];
5. $consulta = "INSERT INTO tabla VALUES ($a, $b)";


pues ya tienes el ejemplo...
saludos.
__________________
More about me...
~ @rhyudek1
~ Github