RE: [PHP] blank function parameters

2004-11-03 Thread Zareef Ahmed
ss all the argumets. Zareef ahmed -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 9:12 PM To: Giles Roadnight; [EMAIL PROTECTED] Subject: RE: [PHP] blank function parameters [snip] If I defined a function with 4 parameters but only

RE: [PHP] blank function parameters

2004-11-03 Thread Jay Blanchard
[snip] If I defined a function with 4 parameters but only pass 3 I get an error. Is there anyway around this? I want to be able to set the missing parameter to a default value if it is not passed which works ok but How do I get rid of the error message? [/snip] http://us2.php.net/manual/en/funct