RE: [PHP] Help on OOP

2002-12-07 Thread Khalid El-Kary
hi, right, this is exactly what i mean Khalid _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

RE: [PHP] Help on OOP

2002-12-07 Thread Matt Giddings
> -Original Message- > From: Khalid El-Kary [mailto:[EMAIL PROTECTED]] > Sent: Saturday, December 07, 2002 6:03 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Help on OOP > > hi, > a function can be defined from inside another function! > this works he

Re: [PHP] Help on OOP

2002-12-07 Thread Khalid El-Kary
hi again, about functions wholly, here is the php manual functions section http://www.php.net/manual/en/functions.php about classes and objects: http://www.php.net/manual/en/language.oop.php Note: an object is an instance of a class! Regards, Khalid Al-kary

Re: [PHP] Help on OOP

2002-12-07 Thread Khalid El-Kary
hi, a function can be defined from inside another function! this works here: function howru() { function hi() { echo "hi,"; } hi();echo "how r u"; } howru(); hi(); ?> this gives the same result: function hi() { echo "hi,"; } function howru() { hi();echo "how r u"; } howru(); hi(); ?> It