Inserting a PHP document inside an if else statement
Posted: Sun Apr 28, 2013 9:24 am
I'm working on a login/registration system and I have so far set it up all good.
I am using an if else statement, that on being true, executes this:
echo "Success, you have logged in".
Now I have a 1 page PHP script that I want to put in instead of this message and execute it in a container or something. So when someone logs in, he is able to access the script.
Help me here please.
Thanks.
I am using an if else statement, that on being true, executes this:
echo "Success, you have logged in".
Now I have a 1 page PHP script that I want to put in instead of this message and execute it in a container or something. So when someone logs in, he is able to access the script.
Help me here please.
Thanks.