help me in codes of notepad++

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 .

novin

Posted 2010-08-15T06:39:26.693

Reputation: 1

Question was closed 2012-08-01T03:35:14.217

Answers

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.

Nifle

Posted 2010-08-15T06:39:26.693

Reputation: 31 337

-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.

Vervious

Posted 2010-08-15T06:39:26.693

Reputation: 4 654

FYI, another reason I just said that was because novin mentioned "im starting with HTML" – Vervious – 2010-08-15T17:44:13.203

So, are you using OS X or not? Notepad++ is a Windows app. – crazysim – 2010-08-16T01:42:09.600

I use both OSes... – Vervious – 2010-08-16T06:53:57.633