Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/10/2004, 08:42
YDIABLOY
 
Fecha de Ingreso: septiembre-2004
Mensajes: 58
Antigüedad: 19 años, 7 meses
Puntos: 0
si exactamente eso hise mas o menos asi
$strsql = "INSERT INTO `a` (";
$strsql .= implode(",", array_keys($fieldList));
$strsql .= ") VALUES (";
$strsql .= implode(",", array_values($fieldList));
$strsql .= ")";
mysql_query($strsql, $conn) or die(mysql_error());
mysql_close($conn);
ob_end_clean();

$strsql = "INSERT INTO `b` (";
$strsql .= implode(",", array_keys($fieldList));
$strsql .= ") VALUES (";
$strsql .= implode(",", array_values($fieldList));
$strsql .= ")";
mysql_query($strsql, $conn) or die(mysql_error());
mysql_close($conn);
ob_end_clean();

pero al ejecutrarlo solo me sube la informacion a la tabla b osea ala segunda sntencia