Convert html to php

I have a website in html and now i want to change the whole website in php because now i want database attach with my site and in html it is not possible that’s why i want to convert. but how could i change my whole website it is possible or have to make new website for it?


web development | [URL=“http://www.whizkraft.com”]Software Development

Well, it is possible, but it all depends on what you want to do.
What do you want to extract from the database, what kind of data? How do you want to display it?

Do you know some PHP already? If not, it’s a good idea to buy a book and start reading up a little. Learning PHP takes time and patience :slight_smile:

Changing HTML to PHP:

Step 1: Change all extensions of files from .htm or .html to .php
Step 2: Add PHP code where desired.

PHP does not alter HTML output outside of it’s tags, so it’s not really a ‘conversion’ process so much as it is ‘adding to’.