How to convert a site in html/css to PHP?

Reply

Join Date: Aug 2009
Posts: 18
Reputation: davidm23 is an unknown quantity at this point 
Solved Threads: 0
davidm23 davidm23 is offline Offline
Newbie Poster

How to convert a site in html/css to PHP?

 
0
  #1
Aug 15th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 150
Reputation: sDJh is an unknown quantity at this point 
Solved Threads: 13
sDJh sDJh is offline Offline
Junior Poster

Re: How to convert a site in html/css to PHP?

 
0
  #2
Aug 15th, 2009
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:
  1. HTML-style-formatting
  2. <?
  3. your PHP-code comes here
  4. ?>
  5. and HTML-style-formatting again
That's all you've to do.
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 1
Reputation: mrvijayakumar is an unknown quantity at this point 
Solved Threads: 0
mrvijayakumar mrvijayakumar is offline Offline
Newbie Poster

Re: How to convert a site in html/css to PHP?

 
0
  #3
Aug 18th, 2009
Its very easy to do, Just change extension .html to .php. Run this on server. It will works fine.
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 18
Reputation: davidm23 is an unknown quantity at this point 
Solved Threads: 0
davidm23 davidm23 is offline Offline
Newbie Poster
 
0
  #4
25 Days Ago
Thanks for the info SDJ

Mr. Vijayakumar are you sure that just changing the extension will give the exact results?
.
Get Free one way links Submit your sites now to -Dofollow Business Directory

Quality SEO Services * Contact - SEO Services
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC