Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/02/2009, 09:50
Avatar de LuZBinG
LuZBinG
 
Fecha de Ingreso: enero-2008
Mensajes: 407
Antigüedad: 16 años, 3 meses
Puntos: 5
Respuesta: formulario con dos botones de enviar

Primeramente salu2

Puedes hacer lo siguiente:
Cita:
<form action=”forma.php” method=”post”>
<p>Ingrese un texto</p>
<p><input type=”text” name=”texto”/></p>
<p><input type=”submit” name=”Form” value=”Proceso 1″ /></p>
<p><input type=”submit” name=”Form” value=”Proceso 2″ /></p>
</form>
otro archivo:
Cita:
<?php
switch( $_POST['Form'] ) {
case “Proceso 1″: header (”location:pagina1.php?variable=”.$_POST['variable']);
break;
case “Proceso 2″: header (”location:pagina2.php?variable=”.$_POST['variable']);
break;
}
?>

eso debe funcionar espero que te sirva y se ha lo que buscas
prubalo---
las paginas pagina1.php y pagina2.php es a donde te direcciona

salu2