0

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 2

4

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.

0
-1

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.

3
  • FYI, another reason I just said that was because novin mentioned "im starting with HTML"
    – Vervious
    Aug 15, 2010 at 17:44
  • So, are you using OS X or not? Notepad++ is a Windows app. Aug 16, 2010 at 1:42
  • I use both OSes...
    – Vervious
    Aug 16, 2010 at 6:53

Not the answer you're looking for? Browse other questions tagged .