Current location: Hot Scripts Forums » Programming Languages » PHP » Html > PHP


Html > PHP

Reply
  #1 (permalink)  
Old 06-09-04, 12:27 PM
Sango Sango is offline
New Member
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Html > PHP

I have a current html template that I want to transform in to a php template...I want it to look exactly the same...Is that at all possible.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-16-04, 08:32 AM
Worm's Avatar
Worm Worm is offline
Newbie Coder
 
Join Date: Jun 2004
Location: Germany, Frankfurt am Main
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Sango
I have a current html template that I want to transform in to a php template...I want it to look exactly the same...Is that at all possible.
If you just take the ending of your file and change it to .php , you have a template for php.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-16-04, 08:55 AM
Rapid Dr3am Rapid Dr3am is offline
Community VIP
 
Join Date: Jan 2004
Location: Liverpool, England
Posts: 752
Thanks: 0
Thanked 0 Times in 0 Posts
You could also split the template into sections and use include('file.php'): and build it like that.

Less work to add new files.
__________________
Placeholder, place signature here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP in HTML Pages? ZeoFateX PHP 19 01-04-06 07:42 PM
general question about php and html timfoster PHP 3 05-17-04 01:29 PM
HTML, ASP.NET, PHP Classes icu HTML/XHTML/XML 1 02-22-04 04:27 PM
php on a html page Bonzo PHP 9 02-06-04 11:40 PM
help plz: format retrieved Mysql data in HTML with PHP paulj000 PHP 2 10-19-03 09:03 PM


All times are GMT -5. The time now is 01:19 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.