Re: [PHP] PHP 4.3.11, question about classes

2006-03-23 Thread Richard Lynch
On Wed, March 22, 2006 5:27 am, Michael Hulse wrote: > I am just learning about classes. > > My server is running PHP 4.3.11 > > Example code: > > class testing { > var $what; > } > > $linkGenClass = new testing(); > $linkGenClass->what = 'hi'; > echo $linkGenClass->what; > > Why does the con

Re: [PHP] PHP 4.3.11, question about classes

2006-03-22 Thread chris smith
On 3/22/06, Michael Hulse <[EMAIL PROTECTED]> wrote: > Hi Chris! Thanks for all the great answers, I really appreciate all of > your help. I am browsing the link you gave me now. > > I only have one question: > > On Mar 22, 2006, at 4:09 AM, chris smith wrote: > > You're calling a method (which is

Re: [PHP] PHP 4.3.11, question about classes

2006-03-22 Thread Michael Hulse
Hi Chris! Thanks for all the great answers, I really appreciate all of your help. I am browsing the link you gave me now. I only have one question: On Mar 22, 2006, at 4:09 AM, chris smith wrote: You're calling a method (which is a function inside a class). You can't call a regular function wi

Re: [PHP] PHP 4.3.11, question about classes

2006-03-22 Thread chris smith
On 3/22/06, Michael Hulse <[EMAIL PROTECTED]> wrote: > Hi, > > I am just learning about classes. > > My server is running PHP 4.3.11 > > Example code: > > class testing { > var $what; > } > > $linkGenClass = new testing(); > $linkGenClass->what = 'hi'; > echo $linkGenClass->what; > > Why do