hello,
need help from you guys.
ok, i have create a prompt box that will ask user to enter a password, and this prompt box will take user to secured page.
<script type="text/javascript">
function show_prompt()
{
var name=prompt("Please enter your password","Fill Here");
if (name!=null && name!="")
{
location.href="index.php";
}
}
</script>
so, how to create a variable that can take password from mysql using js?
if (password=="password in database")<< how to call password from database?
{
location.href="index.php";
}
i hope you guys can help me. appreciate it so much.