I'm new to php and I have no idea about it. I'm trying to understand it by looking at the source codes of other peoples work and I got this small problem when I open a php file in my browser. This is what I see when I press an action button on my html page, which redirects to this php file:
You can't run PHP by just opening it in a browser window. For that, you need to have an apache server running in background and a HTTP path like localhost Or 127.0.0.1