Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Converting HTML to PHP

how would i go about it?



12:33 am on Aug 23, 2002 (gmt 0)

Is there any tools i could use or a reference to a site, im pretty new to php

any help would be appreciated


12:38 am on Aug 23, 2002 (gmt 0)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Welcome to WebmasterWorld Stika,
paynt's welcome post [webmasterworld.com] is a good place to start

I use php.net [php.net], all the time. It is the absolute language reference.

What exactly are you trying to do. You don't necessarily need to convert static html to php just for the sake. Are you connecting to a db? or have dynamic content? or need some specific functionality?


7:32 pm on Aug 25, 2002 (gmt 0)

10+ Year Member

Converting your current HTML to PHP is easier done than said:

You just fit your php around the html where needed and name the page with a .php extension


echo "Your php code here";

<font color="red">HTML code here</font>

echo "More php here";

So you see that you don't have to do anything with the html. Just put the php where needed and don't forget that the page has to be renamed with a .php extension.


Featured Threads

Hot Threads This Week

Hot Threads This Month