Hello,
I have a main page.
index.php
What includes
include("template/defualt/index.php");
And what i want is when a form is posted.
the $_POST["username"] wont work inside the template/defualt/index.php file.
I can't use a index.php?username=$_POST["username"] in the url to do it that way because its going to a few hundred posts and gets all over the site.
My friend said i can do it with globals but im not sure how to get them to work.
Thanks if you can help me!
I have a main page.
index.php
What includes
include("template/defualt/index.php");
And what i want is when a form is posted.
the $_POST["username"] wont work inside the template/defualt/index.php file.
I can't use a index.php?username=$_POST["username"] in the url to do it that way because its going to a few hundred posts and gets all over the site.
My friend said i can do it with globals but im not sure how to get them to work.
Thanks if you can help me!
