i have encrypted admin passwords in mysql, now i want to make the login page work. but my code seems to be failing to login. please help:
here is my .php file to connect and make validation:
Code:
mysql_connect($host,$user,$pass);
		
		mysql_select_db($db);
		
		
		if (isset($_POST['admin']) || ($_POST['password'])) {
		
	
			$password = $_POST['password'];
		
		
		$sql = 	"SELECT
...