Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
How to convert css page to php?
Old 10-06-2009, 01:48 PM How to convert css page to php?
Average Talker

Posts: 20
Trades: 0
I have to create [Rebuild an existing site] a PHP page from a CSS/HTML page. Is there any easy way for this?
Any help is welcome.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
nelson102 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-06-2009, 01:56 PM Re: How to convert css page to php?
ReadEZArchive's Avatar
Experienced Talker

Posts: 46
Trades: 0
Actually, a CSS/HTML template can be used on a PHP page.

a .HTML file is treated similar as a .PHP extension only the .php has code that is executes.

What you can do is open up the original php file in notepad and take a look at where all the HTML styling is. Then just copy the html from the template index file and replace the html in the PHP file. Then all you need to do is make sure the images and css styles are in the same directory.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
ReadEZArchive is offline
Reply With Quote
View Public Profile Visit ReadEZArchive's homepage!
 
Old 10-06-2009, 03:42 PM Re: How to convert css page to php?
lizciz's Avatar
Webmaster Talker

Posts: 744
Name: Mattias Nordahl
Location: Sweden
Trades: 0
Since you didn't give much information, the easiest answer is this. Change all file extension from .htm to .php. php and html can be embedded in the same file and a page with only html in it can still have the .php extension, but of course it won't make any difference unless there are actually some php code in there. Also, there can (and should) still be CSS just as before. The visitors to your site won't be able to see the php code any way. For them it's still just html and CSS.

php is used to add more functionality to your site, but from the way you put it, it seems you just want to have a site build with php with nothing more than the same functionality as before. If so, then there is no need to use php.

Otherwise, you have to be way more specific on what you actually want.
__________________
34343639363436653237373432303635373837303635363337 34323037343638363137343263323036343639363432303739 366637353366
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 10-06-2009, 11:20 PM Re: How to convert css page to php?
bmcoll3278's Avatar
Super Talker

Posts: 118
Name: Brian Collins
Trades: 0
Like the other guy said more info is needed.

But to say it more simple.

<?php php code here ?>
html code here
<?php php code here ?>

you get the idea. they can be mixed. any html on a php page will be treated as html
__________________
I hope to build a site with something for every one

Please login or register to view this content. Registration is FREE
bmcoll3278 is offline
Reply With Quote
View Public Profile Visit bmcoll3278's homepage!
 
Reply     « Reply to How to convert css page to php?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19283 seconds with 12 queries