Optional parameters in functions....
| From: | John LYC | Date: | Fri, 17 Nov 2000 03:16:31 +0000 |
| Subject: | Optional parameters in functions.... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25854@lists.php.net to get a copy of this message | ||
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