function with 2 arguments
| From: | Martin A. Marques | Date: | Mon, 19 Feb 2001 19:21:41 +0000 |
| Subject: | function with 2 arguments | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40613@lists.php.net to get a copy of this message | ||
Hi, I'm about to make a function with two arguments, and I want the second one
to be optional. Can I just write the function and use it with one or two
arguments without problems (I check if the second argument was passed inside the
function).
Is this OK?
Saludos... :-)
Martin Marques