Lets say you have a class called Car. You should see a "constructor in the class the same as the class name: class Car { function Car(....possible params...) { } function start() { ... } function stop() { } } To create a new car object you would do something like this: $myCar = new Car(...possible params...); Note that you should pass the parameters that the constructor expects (for instance the constructor could have a parameter called type). "Sunny at wde" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ok, this must be the simplest question alive, but help me please?? > > i've seen loads of classes all over the net, and i want to use them, > but not sure where to start! > > are class files independent of platform?? > do you have to name your variables same as them? > > or do i just call it or something? they dont usually have > documentation, so i'm a bit stumped :( > > /sunny > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]