I am new to web developing and I decided to learn some html-php. I noticed that when submitting a form, the user can actually click "inspect element" and change the form action before the form is submitted. Is there a way around this as a developer?
EDIT: This was marked as duplicate. My question was not how to stop the user from changing the html on his browser. My question was how work around this, be safe and not have my php scripts run whenever a user wants to.