$password_log = md5($password_log);
$usersSQL = "select * from user where UserID='".$userid_log."' and Password='".$password_log."'";
$usersQRY = mysql_db_query($dbname, $usersSQL);
if(mysql_num_rows($usersQRY)<1) err('ไม่พบรหัสผ่านของท่าน !!','errtxt');