Ver Mensaje Individual
  #14 (permalink)  
Antiguo 15/06/2006, 11:38
finord
 
Fecha de Ingreso: mayo-2005
Mensajes: 51
Antigüedad: 18 años, 11 meses
Puntos: 0
lo pense, pero el problema es que no se como hago para relacionarlos, quiza esto de aqui

Código PHP:
// Loop to get the pages 
for($i 1$i 20$i++) 

if(
$_POST["pageTitle$i"] != ""

$arrPages[] = array("title" => $_POST["pageTitle$i"], "content" => $_POST["pageContent$i"]); 

}

// Add an entry to the article table 
@mysql_query("insert into articles(title, summary) values('$articleTitle', '$articleSummary')") or die("Couldn't add article: " mysql_error());

// Grab the ID of the new article record 
$articleId mysql_insert_id(); 
he estado buscando por la red y he encontrado este tutorial de aqui, pero el problema es que no pone el nombre las variables en los formularios y de javascript no tengo casi ni idea(como php xDDD)

salu2