Re: More function troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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){ // this is line 5

Maybe you error is that check_zero() is spelled differently than check()?

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux