I'm getting an error as i'm trying to create a login page which will allow users to be directed to the right page. help...
<?php
$dbc = mysql_connect('localhost','root','') or die("Cant connect :" . mysql_error());
mysql_select_db("test-login",$dbc);
or
die("Cant connect :" . mysql_error());
?>