1
Guys, I need to pass a value from one View to another View, in case an ID. For example:
In the Main View I have a list of vacancies, when I click on one of the vacancies will load the second View where it will be possible to edit this vacancy. My doubt is how to pass the ID value in a correct way, without the user being able to modify the value in the link inspecting by the browser.
The ideal would be to store this in $_SESSION. Are you using any framework?
– André Ribeiro
No, no framework, only MVC @Andréribeiro
– Raphael Ribeiro
get_defined_vars()
within the view structure would return all variables declared there. Perhaps, you could do something with this– Wallace Maxters