When the Autocompleter says "returns", it means returns in the same way that when you request a page from a Web server, the server returns that page. It's a HTTP return, not a PHP return.
A function (in PHP or any language) may return a string or other variable. But that string won't go anywhere outside the application server (won't be sent to the browser) unless you print() or echo() it. Walter On Sep 25, 2008, at 8:16 PM, ericindc wrote: > The part I was confused on is that my PHP code > doesn't actually return the string containing the unordered list, but > rather prints it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
