Thanks heaps .... how couldn't I see it!!!
My only problem now is that if I have the correct username and password it works, but if I don't have the correct username or password I get the "Could not authenticate!" from the die statement. Is there a work around?
$num = mysql_numrows($result) or die ("Could not authenticate!")
if ($num == 0) {
echo "You are not an authorised user!";
}
else if ($num == 1) {
echo "You are authorised!";
}
Any ideas much appreciated as always 🙂
cheers
Darrel