Ver Mensaje Individual
  #17 (permalink)  
Antiguo 07/07/2015, 11:49
Avatar de chronos682
chronos682
 
Fecha de Ingreso: febrero-2004
Ubicación: Tunja - Boyacá - Colombia
Mensajes: 627
Antigüedad: 20 años, 2 meses
Puntos: 69
Respuesta: duda en poder insertar varios link url

Por POST recoges los valores de los input:

Código PHP:
Ver original
  1. $myInputs = $_POST["cmd"];
  2. foreach ($myInputs as $eachInput) {
  3.      echo $eachInput . "<br>";
  4. }

Usas la variable $eachInput para ir agregando cada elemento a la BD con SQL.
__________________
Si te gustó la respuesta dale +1

HERNÁN G. SIABATO M.
[email protected]