PDA

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


Chris M
06-05-2002, 01:18 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

scsa20
06-05-2002, 03:44 AM
this is what mine looks like:

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;


as you can see, it's basicly the same :rolleyes:

Chris M
06-05-2002, 12:23 PM
Hmmm...

Then why does mine have an error?:confused:

Satan

Chris M
06-08-2002, 01:10 AM
Anyone?

Satan