0
In my home
I have certain options I give to the user. Each option is action
a file in .php
. After the user option is submitted and validated by the file .php
i send the user to the redirected home with a success or error message, example: home.php?sucesso=1
The options that the user has in the home, also has in the other pages.
Now the way I have it, the user clicking on an option on a page other than home
it is redirected to the home
and not to the page where he clicked on the option.
I’ll have to duplicate these files .php
of action
where I validated the user options and in each of those files.php
redirect to the page I want? Seems me wrong.
How can I best resolve this situation?
i think that’s right. Thank you for the answer :D
– David Concha
Glad I could help.
– Victor Eyer