Hi dear friends,

a few days before I did a work in simple html and css. As the same service is going to add some database operations they have asked me to re do the same with php. Is it possible to add the new pages alone in php. Or do I have re do all again?

The site which has been done already using css/html is Newgenre Bpo Solutions

It' will be a great help if you can give some advice regarding this. As you can see in the site above, they need the same type of layout. So how to do this.

Recommended Answers

All 3 Replies

I can promise you, there's nothing easier than this:
1) rename your html-file to the extension ".php" so that your parser knows it has some code to execute.
2) Everywhere you want PHP-code you can simply include it in your HTNL:

HTML-style-formatting
<?
your PHP-code comes here
?>
and HTML-style-formatting again

That's all you've to do.

Its very easy to do, Just change extension .html to .php. Run this on server. It will works fine.

Thanks for the info SDJ

Mr. Vijayakumar are you sure that just changing the extension will give the exact results?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.