You are here: Re: array of objects problem « PHP Programming Language « IT news, forums, messages
Re: array of objects problem

Posted by Jerry Stuckle on 01/20/06 15:26

julian_m wrote:
> Jerry Stuckle wrote:
>
>
>>class ClsX{
>> var $F_name;
>> ^^^^^^
>>
>> function ClsX($name){
>> $this->Fname = $name;
>> ^^^^^
>>
>> }
>> function GetName(){
>> return $this->F_name;
>> ^^^^^^
>> }
>>}
>
>
> Ohh! what a silly mistake...
> Thanks Jerry. BTW, What debugger are you using? I'm using PHP designer
> 2006 beta, which being a nice editor, has not the option to put breaks
> and things like that, nor even is able to detect such a silly errors
> like the one I had...
>
> regards - jm
>

Notepad. :-)

Seriously, I don't use a debugger. I tried Zend and loved it, but not
enough to pay for it. I haven't found a "free" one I like well yet.

I just interspace echo, print_r, etc. when I need to do some debugging.

It didn't take long to find your problem, though, just by looking at the
code. It's something I've done too may times myself :-).

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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