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 .

link|improve this question
feedback

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.

link|improve this answer
feedback

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.

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

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.