So what exactly does happen?
Try changing:
PHP Code:
$msg="login with username and password";
To:
PHP Code:
echo "login with username and password";
If that message is displayed then I imagine the problem lies with your query. Failing that ensure you have error reporting enabled, add this to the top of your code:
PHP Code:
error_reporting(E_ALL); ini_set('display_errors', 1);
|