Re: [PHP] More function troubles

2005-03-18 Thread Chris Shiflett
AndreaD wrote: I keep getting a Warning: Missing argument 2 for check_zero() in c:\Inetpub\wwwroot\ecurry\order.php on line 5 if ($name == "andrea") { $experience= 2; $age= 24 check_zero($age, $experience); } This calls check which is at the very top of the page function check($age, $experience){ /

Re: [PHP] More function troubles

2005-03-18 Thread Chris Ramsay
Sorry, didn't actually answer your question! Missing argument 2 for check_zero() in > c:\Inetpub\wwwroot\ecurry\order.php on line 5 means that you have not supplied all the neccessary arguments to the function you are calling - is it check($arg1, $arg2) or check_zero($arg1, $arg2)?... CHeers

Re: [PHP] More function troubles

2005-03-18 Thread Chris Ramsay
On Fri, 18 Mar 2005 10:15:08 -, AndreaD <[EMAIL PROTECTED]> wrote: > Still strugglin through with the PHP stuff.. > > I keep getting a Warning: Missing argument 2 for check_zero() in > c:\Inetpub\wwwroot\ecurry\order.php on line 5 > > if ($name == "andrea") { > $experience= 2; > $age= 24

[PHP] More function troubles

2005-03-18 Thread AndreaD
Still strugglin through with the PHP stuff.. I keep getting a Warning: Missing argument 2 for check_zero() in c:\Inetpub\wwwroot\ecurry\order.php on line 5 if ($name == "andrea") { $experience= 2; $age= 24 check_zero($age, $experience); } This calls check which is at the very top of the pa