Re: Problem using return from a class.
| From: | Jason Wong | Date: | Wed, 09 Feb 2005 08:12:58 +0000 |
| Subject: | Re: Problem using return from a class. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208325@lists.php.net to get a copy of this message | ||
On Wednesday 09 February 2005 01:33, Ben Edwards (lists) wrote:
> > Maybe you should post a bit of code to illustrate your problem ;)
>
> I'me just doing:-
>
> return $radio_html;
>
> as the last line of the method.
>
> If I do
>
> echo $radio_html;
>
> The condense of the variable gets outputted.
>
> I could post the method here but its a bit long.
You only need to post concise code that illustrates your problem, a one
liner to return a value is all the that your method needs.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
New Year Resolution: Ignore top posted posts