You are here: RE: [PHP] Problem using return from a class. « PHP « IT news, forums, messages
RE: [PHP] Problem using return from a class.

Posted by Chris Ramsay on 02/08/05 18:47

[snip]
I am having a really odd problem. I have a class and if I do a return
nothing is returned. If I do an echo of the variable that is being
returned I can see it so there is something to return. Is there some
strange bug in PHP?
[/snip]
What is it you are doing - are you echoing the call i.e.
echo $myclass->function();
Or something else?

Maybe you should post a bit of code to illustrate your problem ;)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация