You are here: Re: Class newbie - why doesn't this work? « All PHP « IT news, forums, messages
Re: Class newbie - why doesn't this work?

Posted by Stefan Rybacki on 10/20/05 14:21

Bob Hartung wrote:
> Stefan,
> Thanks for the response but:
> 1. It should not matter wether I use
> function get() {
> ...
> }
>
> or
> function get()
> {
> ...
> }
>
> Multiple references mix the two styles as in C++.

Next time read more careful!!!

>
> 2. The classes should not have to be declared in a separate file.
> This is typical in large projects, but again as in C++ the class can be
> declared before the main() code unless PHP is very different than
> any other programming metaphor that I can find.

that is fine and I didn't say you should, did I?

>
> So I am still looking for an answer.

No you don't.

Read my posting again and try to find out where the solution is.

Regards
Stefan

>
> Thanks again,
>...

 

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

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