RE: [PHP] function with 2 arguments

2001-02-19 Thread Boget, Chris
> 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? To make the second argument

[PHP] function with 2 arguments

2001-02-19 Thread Martin A. Marques
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 -- PHP G