Re: Parameter to function
| From: | Kondwani Spike Mkandawire | Date: | Fri, 28 Jun 2002 15:26:34 +0000 |
| Subject: | Re: Parameter to function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104346@lists.php.net to get a copy of this message | ||
I believe it gives your parameter/argument
a default value... Hence before anything
else is executed within the funcion,
$Email has the value ""...
i.e. before execution starts in the body of
the function CheckEmail, $Email==""...
Spike...
"Peter" <peter@e-factory.nl> wrote in message
news:20020628150851.13162.qmail@pb1.pair.com...
> Hello,
>
> I Found this in the internet....
>
> function CheckEmail($Email = "")
>
> what does this function do with the parameter i sned to this function?
> normaly when i make a function it would be like this,
>
> function CheckEmail($Email)
>
> and i have never seen
> this way of making function before.
>
>