| 
 Posted by Nicholas Sherlock on 12/18/05 03:50 
Henri wrote: 
> what I want is this: xmlData.load("query.php") where query.php would be  
> something like 
>  
> <?php 
>  
> echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>" 
> echo "<images>"; 
> echo "<img_data>"; 
> echo "<val title=\"$title\"/> 
> echo "<val path=\"$path\"/> 
> echo "</img_data> 
> echo "</images> 
>  
> ?> 
 
Yes? That sounds fine, what problems are you having with it? You may  
need to call: 
 
Header('Content-type: text/xml'); 
 
before you start echo'ing. 
 
Cheers, 
Nicholas Sherlock
 
  
Navigation:
[Reply to this message] 
 |