Código:
  
el codigo php es este  var objXHR_est = false;
function enviar_estudios(titulo , centro , especialidad , fecha_inicio , fecha_final, nivel){
 objXHR_est = creaXHR();
url = "script_estudios.php?titulo=" + titulo + "¢ro=" + centro + "&especialidad=" + especialidad + "&fecha_inicio=" + fecha_inicio + "&fecha_final=" + fecha_final + "&nivel=" + nivel;
if(objXHR_est){
  objXHR_est.open("GET", url, true);
  objXHR_est.onreadystatechange = procesar_resposta_enviar_est;
  objXHR_est.send(null);
}else{
  alert("L'objecte XMLHttpRequest no està disponible al seu navegador");
}
}
function procesar_resposta_enviar_est(){
if(objXHR_est.readyState == 4){ 
 text = objXHR_est.responseText;
 respuesta = objXHR_est.responseText;
 var tabla = document.getElementById("est1");
var rows = document.createElement("tr");
rows.innerHTML = respuesta //contiene una cadena con los td
tabla.appendChild(rows);
 
} 
}
Código PHP:
   $sql = "INSERT INTO  movedb.estudios (
id_estudios,
nivel,
titulacion,
centro,
fecha_inicio,
id_candidato,
fecha_final,
cursando,
especialidad
)
VALUES (
NULL ,  '".$nivel."',  '".$titulacion."',  '".$centro."',  '".$fecha_inicio."',  '".$_SESSION['id_candidato']."',  '".$fecha_final."',  '".$cursando."',  '".$especialidad."'
);";
 
$_SESSION['i'] = $_SESSION['i'] + 1;
$s = mysql_query($sql) or die("Error al intentar seleccionar les dades de l'usuari");
if ($s == 1){
 
if (($i % 2) == 1){
$respuesta = '
    <td class="texto_tb3" >'.$fecha_inicio.' -  '.$fecha_final.'</td>
    <td class="texto_tb3">'.$titulacion.'</td>
    <td class="texto_tb3">'.$especialidad.'</td>
    <td class="texto_tb3">'.$nivel.'</td>
    <td class="texto_tb3">'.$centro.'</td>
    <td class="text3" align="right"><img src="imagenes/lapiz_01.gif" style="cursor:pointer;" onClick="modificar_exp()">
    </td>
    <td class="text3" align="right"><img src="imagenes/basura_01.gif" style="cursor:pointer;" onClick="eliminar_exp()">
    </td>
';
 
echo $respuesta;
 
}else{
 
 
$respuesta = '
    <td class="texto_tb2" >'.$fecha_inicio.' -  '.$fecha_final.'</td>
    <td class="texto_tb2">'.$titulacion.'</td>
    <td class="texto_tb2">'.$especialidad.'</td>
    <td class="texto_tb2">'.$nivel.'</td>
    <td class="texto_tb2">'.$centro.'</td>
    <td class="text2" align="right"><img src="imagenes/lapiz_01.gif" style="cursor:pointer;" onClick="modificar_exp()">
    </td>
    <td class="text2" align="right"><img src="imagenes/basura_01.gif" style="cursor:pointer;" onClick="eliminar_exp()">
    </td>
';
 
echo $respuesta;
}
} 
    gracias de antemano.
 
 
 
