Greetings,
It means that on this line;
Code:
if (cmpfx($rs["user_name"], $_POST["username"]) && cmpfx($rs["password"], md5($_POST["password"]))) {
you're calling the function 'cmpfx' which has not been defined. So you would need to define the function like so;
Code:
function cmpfx($var, $var)
{
// function code in here
}
You'd replace the '// function code in here' with code to work on the 2 passed values and then return a result.