using html code with php extension?

M-HRT

New member
hi i want to know that can i use the html code page with a extension php because i want to include mysql data base in it thats why i have give this page .php extension. is it going to work????? i mean data base is going to work with it because im going to include php ro all html coded page.
 
A PHP page is pretty much the same as a HTML page, only you can put <% %> tags in to include PHP code as well - everything else is pretty much the same.

If you want to get started using PHP and mysql databases, then have a look here: http://www.w3schools.com/php/default.asp
for some decent tutorials (have a look at the database section)

Also, to use PHP you need to get a server of some sort. You could try making an account at www.Oxyhost.com, and that will set you off with all you need to start making dynamic webpages with PHP.
 
Back
Top