CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   PHP (http://www.codingforums.com/forumdisplay.php?f=6)
-   -   Need some help with PHP (http://www.codingforums.com/showthread.php?t=287275)

tarasmuz 02-07-2013 09:27 PM

Need some help with PHP
 
Hi everyone,

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:
http://cs405822.userapi.com/v4058227...wtbgKOYkfI.jpg

It might be very stupid, so please don't laugh :)

abduraooft 02-08-2013 10:55 AM

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

tarasmuz 02-08-2013 12:07 PM

Thanks. However I still can't get where I should put an SQL file?

mlseim 02-08-2013 12:23 PM

Do you have a website hosted online by a shared webhost? Or do you have your own server loaded on your computer?

tarasmuz 02-08-2013 12:26 PM

Quote:

Originally Posted by mlseim (Post 1311943)
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


All times are GMT +1. The time now is 12:30 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.