PDA

View Full Version : Ive got an "Missing arguement 7" error?


Chris M
06-01-2002, 09:03 AM
What does :

Warning: Missing argument 7 for makechoosercode() in /localhost/forums/admin/adminfunctions.php on line 312

Mean?

And how do I correct it?

Here is the php around the line 312 :

echo "</select>\n</p></td>\n</tr>\n";

}

// ###################### Start makeforumchoosercode #######################
function makeforumchoosercode ($title,$name,$selvalue=-1,$extra="") {
// returns a combo box containing a list of titles in the forum table, except for "My BB" (-1).
// allows specification of selected value in $selvalue
global $DB_site;

Satan

Chris M
06-03-2002, 09:56 AM
Anyone?

Satan

Logician
06-03-2002, 10:43 AM
You are missing one or two parameters while calling the function "makechoosercode".. It seems that what you miss is mandatory and function cant be called without it (them). Taka a glance at the function and see what paramaters you are missing..

For more info check functions section in PHP manual..

Chris M
06-05-2002, 01:11 AM
I have no idea what the error is...

Somebody help please!

Satan