Reputation: 19875
I want my php to open a new html page.
I have a html page, where a member can login by typing her username and password and then click on button.
if the username password is correct, i want my php to open a different html page in the same window.
how can i do this??
Zeeshan
Upvotes: 2
Views: 27013
Reputation: 19445
Or, the 'techless' solution:
<html>
<head>
<title>Redirecting...</title>
<meta http-equiv="refresh" content="0;URL=newpage.php">
</head>
<body>
You are being automatically redirected to a new location.<br />
If your browser does not redirect you in few seconds, or you do
not wish to wait, <a href="newpage.php">click here</a>.
</body>
</html>
See Here.
Upvotes: 3