I'm trying to figure out how can I prevent give access to other people's information.
I mean that I have a form, which can be editable.
When person clicks on Edit button, he instantly redirects to the next page:
bla-bla-bla/edit.php&id=1337
The problem is that I can just go in the address bar and put &id=1337
to &id=143
or &id=1943
and still access the someone elses data.
This is the original code which is displaying and editing:
Sorry for my English and thank you in advance.