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://
> -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
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
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
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.
5 matches
Mail list logo