Free Advertising - Gas Suppliers - Cell Phones - Mortgage - Debt Consolidation

PDA

View Full Version : HTML to PHP


hawksrnm1
Feb 6th 2008, 9:42 pm
How do I convert a page that I have in HTML so that it is in PHP?

Dondon2d
Feb 6th 2008, 9:47 pm
Put echo and quotes before and after the HTML code. Lol. Why exactly do you need to convert it?

EGS
Feb 6th 2008, 10:03 pm
Here's exact code..

<?php echo ' <div class="myjawn">This is the HTML output</div>

';

?>

fairuz.ismail
Feb 6th 2008, 10:48 pm
simply rename the page to .php

example: you have abc.html ...just rename this file to abc.php .. thats all

hawksrnm1
Feb 7th 2008, 7:41 am
I am adding a dynamic code that need PHP/.

Put echo and quotes before and after the HTML code. Lol. Why exactly do you need to convert it?