[RESOLVED] Page Issue !!!
Guys, since i am starting to learn php. I have this issue wherein, when it comes in validation how im going to control the page where the user make take place. I mean when you put a action in a <form> tag, when you click a button with it whether the inputed data is correct or not it will proceed to the specify page. But i want that if the user input a wrong data the page will retain, however, if the data is correct the page that i will specify will be loaded.
Like this "Admin Login"
if inputed a wrong data the login page will retain and it will display a message but if the data is correct it will go in the other page. I already manage the validation but the page that will be loaded is a problem. So How to do it.
Re: [RESOLVED] Page Issue !!!
Redirection:
PHP Code:
<?php
header("Location: page.php");
?>
Make sure you haven't outputted any data though before you run this code (no HTML sent).
Re: [RESOLVED] Page Issue !!!
Re: [RESOLVED] Page Issue !!!