View Single Post
Old 01-18-2008, 10:15 PM   #6 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default

Going on your code sample, could you not just do something like:

PHP Code:
<?php

// ... your code here ...

$xmlResponse "<imageCacheResult>";
$xmlResponse .= "<url>$url</url>";
$xmlResponse .= "<thumbnail>$thumbnail</thumbnail>";
$xmlResponse .= "</imageCacheResult>";

return 
$xmlResponse;
?

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote