Re: [PHP] _Construct question

2007-03-21 Thread Tijnema !
On 3/21/07, Chris [EMAIL PROTECTED] wrote: John Comerford wrote: Hi Folks, I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { $this-name

[PHP] _Construct question

2007-03-20 Thread John Comerford
Hi Folks, I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { $this-name = $pName; } } So I when I create a new class I can assign 'name' by

Re: [PHP] _Construct question

2007-03-20 Thread Chris
John Comerford wrote: Hi Folks, I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { $this-name = $pName; } } So I when I create a new class I

Re: [PHP] _Construct question

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 6:51 pm, John Comerford wrote: I am still pretty new to PHP and I have a question regarding classes and using _construct. Up until now I have been creating my classes as follows: class test1 { var $name; function test1($pName) { It changed from PHP 4 to PHP 5