| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Gold Sponsor 2015! |
|Converting HTML to PHP|
how would i go about it?
Is there any tools i could use or a reference to a site, im pretty new to php
any help would be appreciated
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?
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.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved