I recieeve this error
Warning: Missing argument 1 for form() in H:\apachefriends\xampp\htdocs\willow\login.php on line 23
on this script
error_reporting(E_ALL);
include("include/functions.php");
accessdb();
function form($em) ######## line 23 #####
{
if (empty($em))
{
$em = 0;
}
switch ($em)
{
case "0" :
$error = "";
break;
case "1" :
$error = "Please supply a valid Login name to log on.";
break;
case "2" :
$error = "Login Name not valid";
break;
case "3" :
$error = "Login Name and Password do not match";
break;
case "" :
$error = "no error";
break;
}
Im not sure what this warning means to be honest, or why im getting it!
Is there a list of errors / warnings in the manual somewhere??