Re: Optional parameters in functions....
| From: | John LYC | Date: | Fri, 17 Nov 2000 03:24:15 +0000 |
| Subject: | Re: Optional parameters in functions.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25858@lists.php.net to get a copy of this message | ||
THANKS GUYS>.>>....
Great helpp........
john
John LYC wrote:
> hey.......
>
> how do i declared a function where parameters are optional???
>
> function name(one,two)....
> {
> if(one)....
>
> if(two)...
>
> }
>
> when calling,
>
> name(); is still valid....
>
> john
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net