Ver original$conn = mysql_connect(C_HOST, C_USER, C_PASS);MYSQL_SELECT_DB(C_BD,$conn) OR DIE ("No concecta con la bd"); $insert = " INSERT INTO .... "; if (mysql_query ($insert,$conn)){ $id = mysql_insert_id($conn); }