[PHP-WIN] Re:Subject: Need Help with Classes

2003-02-13 Thread Neil Smith
I thought PHP worked like this : to instantiate a class, you need to name a constructor function with the same name as your class. Also var myVar should be var $myVar -- I think setting myVar will create a constant not a variable. Try turning error_reporting(E_ALL) on in your code to catch this

[PHP-WIN] Re:Subject: Need Help with Classes

2003-02-13 Thread Paul Dymecki
Ya i actually got it working yesterday thanks to Matt who sent me some sample class code to execute. I put it in a seperate file and it worked fine. So thin i put the class i was trying to call in a seperate class as well and that did it. ie., the problem(besides all the ones you mentioned)