[PHP] Help on OOP

2002-12-07 Thread Mohd_Q
I can't distinguish between objects, classes, and functions. Here is a question - sorry if appear to be rediculous : -- Can we have a function inside another function? if anyone can suggest the best tutorial on OBJECTS and CLASSES, I'll be grateful.

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: ?php function howru() { function hi() { echo hi,; } hi();echo how r u; } howru(); hi(); ? this gives the same result: ?php function hi() { echo hi,; } function howru() { hi();echo how r u; } howru(); hi(); ? It

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 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 here: ?php function howru

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: