homepage Welcome to WebmasterWorld Guest from 54.166.113.249
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Converting HTML to PHP
how would i go about it?
Stika

10+ Year Member



 
Msg#: 555 posted 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

 

jatar_k

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



 
Msg#: 555 posted 12:38 am on Aug 23, 2002 (gmt 0)

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?

develclint

10+ Year Member



 
Msg#: 555 posted 7:32 pm on Aug 25, 2002 (gmt 0)

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

example:

<?php
echo "Your php code here";
?>

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

<?php
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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved