Ver Mensaje Individual
  #5 (permalink)  
Antiguo 14/10/2017, 09:13
karenlorenadg
 
Fecha de Ingreso: octubre-2008
Ubicación: Colombia
Mensajes: 448
Antigüedad: 15 años, 6 meses
Puntos: 2
Respuesta: Pasar signo igual y el & por Get

Cita:
Iniciado por alvaro_trewhela Ver Mensaje
Usa entonces el action del form:

Por ejemplo, tu puedes tener esto:

<form method="post" action="ventas.php?id=cash">
<input type="text" name="invoice" />
<input type="submit" value="send" />
</form>

Y así tines

$id = $_GET["id"];
$invoice = $_POST["invoice"];
Disculpa, no logro entenderte, entonces cómo quedaría armado el codigo, los utiimos no logro entenderlos
__________________
Desarrollo de Aplicaciones de Escritorio, Sitios Web, Audio y Video en SISGUS