How do you convert html site to become php? Can I just save it as .php? How about editing?same as html?
If you want to put html code AS php, i think you just "echo" it. Look at www.w3schools.com at the PHP -> echo section and you'll see what I mean. Alternatively, you could try this: http://www.free-online-web-tools.com/html_to_php/
it depends on what you want to edit? do you need database connection wise? If yes,you will need to learn basic to advance php programming language. else, just change the extention to .php will do the trick.
in short, to convert from html to php, simply rename the file name with a php extension. however, i cannot see why one would even want to do this. if there is no server side processing required, i would think that .htm/.html extension is preferrable.
Oh no, that wouldn't work the same way.. I mean it WILL show up the same even if you place it in a .php file. The best way is to learn it (the basics is not too hard). Were you thinking about making PHP tables (spliting the header, navigation, content into seperate files so they're easier to edit later?). Or programming? If neither, I don't see why you can't just stick with HTML But if you have a PHP file (with lets say.. a contact page) you can just code HTML into that file.
I wish you can use html to any code Converter. That will automatically convert the html tags to php echo. Handy but it will make lots of echo in every line that is worst.
That would be great, but I looked around the net for some.. and tried them but they didn't work Especially if you have HTML tables and want PHP tables, they won't split it up into pages for you.. I think using those convertors just make your codes look messy and worse to edit when you need to
It really depends what you are looking for. If you want to echo out an help code you can juse use "echo ("html code here");" or you can just change the extension to .php
I'm not sure why you would like to do that... You can use regular html tags on .PHP pages as well. ------ <?php echo "<h1>My name</h1>"; ?> <b>Some text here.</b> ------ is same as: --- <h1>My name</h1> <b>Some text here</b> ----- Or did I understand you wrong? Bye
If you need to run php code there's a line you can put in the htaccess file to process php on html pages. Saves you having to convert all the pages!
PHP is only used as a server-side output (in a sense). HTML and the likes will work fine in a .php file. What exactly do you want to change by going into PHP? Easier content presentation and updating?