Cita:  
					Iniciado por spartmarcus 
  Que tal Lizy94 encontraste algo?  Tengo un problema muy muy similar lo lograste resolver como te menciono p3rikl3s ?
 
Gracias necesito de su ayuda
     
Buenas, soy nueva y estoy buscando lo mismo que  Lizy94 y  spartmarcus, tomando el codigo que coloco Ojopex2, lo he modificado un poco por que me arrojaba error, y aunque se que ya es un poco tarde, les dejo aca el codigo por que se que le puede servir a alguien para futuras consultas : 
base de datos:mulleryc_sav
codigo:    
Código SQL:
Ver original-- phpMyAdmin SQL Dump
-- version 4.1.12
-- http://www.phpmyadmin.net
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 21-06-2015 a las 18:18:21
-- Versión del servidor: 5.6.16
-- Versión de PHP: 5.5.11
 
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
 
 
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
 
--
-- Base de datos: `mulleryc_sav`
--
 
-- --------------------------------------------------------
 
--
-- Estructura de tabla para la tabla `clientes`
--
 
CREATE TABLE IF NOT EXISTS `clientes` (
  `nombre` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `apellido` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `direccion` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `fono` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `fax` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `email` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `notas` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `ciudad` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL,
  `comuna` VARCHAR(100) COLLATE utf8_spanish_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
 
--
-- Volcado de datos para la tabla `clientes`
--
 
INSERT INTO `clientes` (`nombre`, `apellido`, `direccion`, `fono`, `fax`, `email`, `notas`, `ciudad`, `comuna`) VALUES
('marian', 'alcantara', 'versalles', 'ninguna', 'no', '[email protected]', 'ninguna', 'carupano', 'versalles'), ('jose', 'gonzales', 'canchunchu', 'ninguna', 'no tiene', '[email protected]', 'ninguna nota hasta ahora', 'caracas', 'santa lucia');
  
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  
archivo php: ej1
codigo:   
Código PHP:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Trer Datos con AJAX</title>   
<head>  
    <script language="javascript" type="text/javascript"> 
    function nuevoAjax(){ 
        var xmlhttp=false; 
        
        try
        { 
            xmlhttp=new ActiveXObject("Msxml2.XMLHTTP"); 
        }
     
        catch(e)
        { 
            try
            { 
                xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); 
            } 
            
            catch(E)
            { 
                xmlhttp=false;
            }
        }
     
        if (!xmlhttp && typeof XMLHttpRequest!='undefined')
        { 
            xmlhttp=new XMLHttpRequest(); 
        } 
        return xmlhttp; 
    }
     
    /*______________________________________________________*/
  
    function traerDatos()  
    {
    
    var form=document.form;
        
    if (form.rutCliente.value==0)
    {
        alert("Debe Ingresar primero el Nombre a buscar");
        form.rutCliente.focus();
        return false;
    }else{
        
            var campo1=document.getElementById("nombreCliente");
            var campo2=document.getElementById("apellidoCliente"); 
            var campo3=document.getElementById("direccionCliente");
            var campo4=document.getElementById("fonoCliente");
            var campo5=document.getElementById("faxCliente");
            var campo6=document.getElementById("emailCliente");
            var campo7=document.getElementById("notasCliente");
            var campo8=document.getElementById("ciudadCliente");
            var campo9=document.getElementById("comunaCliente");
            var cod=document.getElementById("rutCliente").value;
         
            var ajax=nuevoAjax();
         
            ajax.open("POST", "ej2.php", true);
            ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
            ajax.send("v="+cod);
                 
            ajax.onreadystatechange=function()
            {
                if (ajax.readyState==4)
                {
                    var respuesta=ajax.responseXML;
         
                    campo1.value=respuesta.getElementsByTagName("nombre")[0].childNodes[0].data;
                    campo2.value=respuesta.getElementsByTagName("apellido")[0].childNodes[0].data;
                    campo3.value=respuesta.getElementsByTagName("direccion")[0].childNodes[0].data;
                    campo4.value=respuesta.getElementsByTagName("fono")[0].childNodes[0].data;
                    campo5.value=respuesta.getElementsByTagName("fax")[0].childNodes[0].data;
                    campo6.value=respuesta.getElementsByTagName("email")[0].childNodes[0].data;
                    campo7.value=respuesta.getElementsByTagName("notas")[0].childNodes[0].data;
                    campo8.value=respuesta.getElementsByTagName("ciudad")[0].childNodes[0].data;
                    campo9.value=respuesta.getElementsByTagName("comuna")[0].childNodes[0].data;
                }
            }   
        }
    }
    </script>
</head>
     
    <body>
    <center>
        <h3
><strong
>Trer Datos de Base de Datos 
sin recargar la pagina con AJAX
</strong
></h3
>     </center>
    
    <table width="440" height="699" border="0" align="center"> 
      <tr>
        <td width="430" height="59" align="center" bgcolor="#0099FF">
        <h3>Consulta a Base de Datos en php, html y ajax</h3></td>
      </tr>
      
      <tr>
        <td height="632" bgcolor="#C0C0C0"> 
        <form method="post" name="form" action="" style="margin-left:2em">    
        
        
        Rut:<input name="rutCliente" id="rutCliente" type="text" size="11" maxlength="11"/> 
        <input type="button" id="b1" value="Traer datos" onClick="traerDatos();"/><br /></div><br /><br />
        
        
        <div class="grid_2" id="campo">Nombre: <input disabled name="nombreCliente" id="nombreCliente" type="text" size="20"/></div>        <br />
     
        
        <div class="grid_2 prefix_1"id="campo2">Apellido: <input disabled name="apellidoCliente" id="apellidoCliente" type="text" size="20"/></div><br />
     
        
        <div class="grid_4" id="campo">Email: <input disabled id="emailCliente" name="emailCliente" type="text" size="20"/></div>
        <br />
     
       
        <div class="grid_2" id="campo">Ciudad: <input disabled id="ciudadCliente" name="ciudadCliente" type="text" size="20"/></div>
        <br />
        
        <div class="grid_2" id="campo2">Comuna: <input disabled id="comunaCliente" name="comunaCliente" type="text" size="20"/></div><br />
     
        
        <div class="grid_2" id="campo">Foto: <input disabled id="fonoCliente" name="fonoCliente" type="text" size="20"/></div> 
        <br />
       
        <div class="grid_3" id="campo2">Fax: <input disabled id="faxCliente" name="faxCliente" type="text" size="20"/></div>
        <div class="clear"></div>
        <br />
        
        <div class="grid_4" id="campo">Direccion: <input disabled id="direccionCliente" name="direccionCliente" type="text" size="47"/></div><br />
        
        
        Notas:
        <div class="grid_4" id="campo"><textarea disabled style="resize:none" id="notasCliente" name="notasCliente" cols="39" rows="2"></textarea></div>    <br />
            
        <input name="limpiar" value="Limpiar" type="reset" size="20"/>
    </form> 
        </td>
      </tr>
    </table>
    </body>   
</html>
  
Archivo php:ej2
Codigo:   
Código PHP:
Ver original<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
$v=$_POST["v"];
 
 
 
 
 
 
 
 
                        nombre,
 
                        apellido,
 
                        direccion,
 
                        fono,
 
                        fax,
 
                        email,
 
                        notas,
 
                        ciudad,
 
                        comuna
 
                        FROM
 
                        clientes WHERE nombre='$v'");
 
 
 
 
$xml="<?php xml version='1.0' encoding='ISO-8859-1'?>";
 
$xml.="<datos>";
 
$xml.="<nombre><![CDATA[$registro[0]]]></nombre>";
 
$xml.="<apellido><![CDATA[$registro[1]]]></apellido>";
 
$xml.="<direccion><![CDATA[$registro[2]]]></direccion>";
 
$xml.="<fono><![CDATA[$registro[3]]]></fono>";
 
$xml.="<fax><![CDATA[$registro[4]]]></fax>";
 
$xml.="<email><![CDATA[$registro[5]]]></email>";
 
$xml.="<notas><![CDATA[$registro[6]]]></notas>";
 
$xml.="<ciudad><![CDATA[$registro[7]]]></ciudad>";
 
$xml.="<comuna><![CDATA[$registro[8]]]></comuna>";
 
$xml.="</datos>";
 
header("Content-type: text/xml");  
echo $xml;
 
?>
</html>
  
  
Espero que les sirva, suerte...