im a beginner in learning PHP, im starting with HTML in notepad++, i wrote some codes to creat a simple table, but i dont know how to run it and what s wrong .
2 Answers
A web browser can't run/execute PHP by itself, you need a webserver with PHP capabilities.
A very easy way to get started with this on windows is to install XAMPP. It's easy to install and comes with tons of documentation.
Open the saved file with a browser.
EDIT: My mistake, it was late at night yesterday: you do need more than a web browser to run php (something I took for granted since I use OS X and had enabled things a while back)
but if it's just html a web browser is fine, but it doesn't hurt to get php capability ahead of time.
-
FYI, another reason I just said that was because novin mentioned "im starting with HTML"– VerviousAug 15, 2010 at 17:44
-
-