me puedes ayudar exactamente lei que era esto mysql_insert_id();
el asunto es q mi pagina de edicion de registros lee por post... y el ejemplo que yo tengo es por get mira
Código PHP:
$Result1 = mysql_query($insertSQL, $STU) or die(mysql_error());
$id= mysql_insert_id();
$insertGoTo = "presidentes_editar_full.php?id2=".$id;
XQ presidentes_editar_full.php SOLO LEE POR POST MIRA
Código PHP:
$colname_Recordset1 = "-1";
if (isset($_POST['id2'])) {
$colname_Recordset1 = (get_magic_quotes_gpc()) ? $_POST['id2'] : addslashes($_POST['id2']);
}
ES USANDO DREANWEAVER OBVIAMENTE Y NO ESTA REPETIDO XQ ESTA ES OTRO ASUNTO....
COMO LE HAGO DONDE ESTA LA OPCION DE ENVIAR ID DESPUES DE INSERTAR REGISTRO EN DREEANWAVER
SINO HAY ME PUEDES DAR EL CODIGO ME INMAGINO Q NO PASAS DE UNA LINEA Y USTED SABE MUCH AMIGO PORFAAA!!!
