Need some help with PHP
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:
It might be very stupid, so please don't laugh :)
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
Have a look at http://www.apachefriends.org/en/xampp.html
Thanks. However I still can't get where I should put an SQL file?
Do you have a website hosted online by a shared webhost? Or do you have your own server loaded on your computer?
I've installed XAMP as advised and it now works perfectly fine, but I don't understand where to put my SQL files for my website
Originally Posted by mlseim