Re: Problem using return from a class.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux