Este es codigo de la funcion en ajax
Código PHP:
   function bisualise(bal)
    {
    xmlHttp=ajaxFunction();
    xmlHttp.onreadystatechange=function()
      {
      if(xmlHttp.readyState==4)
        {
        titulo=document.getElementById('titulo');
        titulo.innerHTML=xmlHttp.responseText;
        }
      }
    xmlHttp.open("GET","ajax.php?id=" + bal,true);
    xmlHttp.send(null); 
    } 
    Aqui le doi el valor a mostrar
Código PHP:
   <?php
include("../konekta.php");
if($_GET["id"]!=NULL)
    {
    $select=mysql_query("select texto1 from productos where id=".$_GET["id"]);
    echo "<h1>".mysql_result($select,0,0)."</h1>";
    }
?>    Para cualquier pregunta o si no me he expresado con claridad dadme un toke
Gracias de nuevo
 
