Re: Warning: Missing argument 2 for get_valid_depts()
| From: | Philip Olson | Date: | Thu, 11 Oct 2001 22:56:12 +0000 |
| Subject: | Re: Warning: Missing argument 2 for get_valid_depts() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70859@lists.php.net to get a copy of this message | ||
function foo($a,$b) {
print "$a $b";
}
foo('foo');
will cause it. in otherwords, it's missing the second arguement.
regards,
Philip Olson
On Thu, 11 Oct 2001, Tyler Longren wrote:
> Hello everyone,
>
> I'm getting this odd warning:
> Warning: Missing argument 2 for get_valid_depts() in
> /home2/path/to/admin_head.req on line 359
>
> And here's line 359:
> function get_valid_depts ($action, $args) {
>
> Why does that produce the above warning? Is there something I'm missing?
>
> Thanks,
> Tyler
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>