 
			
				24/04/2007, 10:05
			
			
			     |  
      |    |    |    Fecha de Ingreso: julio-2003  
						Mensajes: 71
					  Antigüedad: 22 años, 3 meses Puntos: 0     |        |  
  |      Re: Pasar mas de un dato con AJAX y PHP        hola...   
Es muy simple....   
<? // siguiendo con tu script 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>";  
   $result = mysql_query($select); 
   while ( mysql_fetch_row($result)){ 
         $string_a_publicar .= $row[ campo1 ]."<br>; 
         $string_a_publicar .= $row[ campo2 ]."<br>; 
         // lo que quiero indicarte es que armes el html a publicar dentro de la variable $string_a_publicar y listo 
   }   
}  
echo $string_a_publicar;           |