squish
06-25-2012, 06:20 AM
Hi guys, I'm a complete newbie when it comes to java so if anyone can help it would be much appreciated. The problem I'm having is that I have this code:
<script language = "javascript">
function validate(text1,text2,text3,text4) {
if (text1==text2 && text3==text4)
load('jake.php');
else
{
alert('Login incorrect..');
}
}
function load(url) {
location.href=url;
}
</script>
And I don't have the jake.php file, meaning I don't know what's in that file. I'm having trouble getting the login page of my site to link with the database. And I'm pretty sure it is this file. Does anyone have any idea what that file might be?
Thanks
<script language = "javascript">
function validate(text1,text2,text3,text4) {
if (text1==text2 && text3==text4)
load('jake.php');
else
{
alert('Login incorrect..');
}
}
function load(url) {
location.href=url;
}
</script>
And I don't have the jake.php file, meaning I don't know what's in that file. I'm having trouble getting the login page of my site to link with the database. And I'm pretty sure it is this file. Does anyone have any idea what that file might be?
Thanks