Hello Friends, I wanted to know the difference that PHP will make over using html. I just got my site map ready and wanted to decide if its a good idea to go ahead and design the site with HTML only. or I must use PHP. Please comment as this is very crucial. Also, there's a limited time offer. Please visit my signature link and thread. OmShanti.
I am sort of leaning towards php these days because you can use php include files for navigation rather easily. also can use dynamic scripts such as random content, or easily add date, time. also can use database info on php pages. html ok for many sites, but php works great and not too many disadvantages I know of.
USE the HTML one.... 'coz php is not SE friendly in terms of SEO.. You will url rewrite it if you want SE to crawl it easily... Read this page..... http://www.webconfs.com/url-rewriting-tool.php Cheers....
Hi! You signature is what I was looking for. Wow! Fabulous! Cheers! I just wanted to get a clear picture yet. Its well said that HTML is SEO friendly where as I don't know about PHP. So, If I use Dreamweaver to create my site, what would I be implementing, HTML or PHP? Thanks. Stompernet is closing Friday Midnight Eastern.
Well.. I don't know what you're on about.. cause you must use html in php anyway, right? It's two different things.. really. PHP is a programming language.. html is for like displaying data, you can't really "do" anything with html as far as I know
PHP is a programming language and HTML is a markup language. PHP allow you to create dynamic sites like pulling information out of the database. HTML is static, so everytime you make a change you have to change the actual file. SEO wise, they are the same, depends on how you do it. You can always use mod_rewrite to generate meaningful urls and your content should be the same in both PHP and HTML when the spider visits.
If you need PHP, use it, if you dont, dont use it. It all depends on your website, functionality, purpose etc.
No, I dont know whether I need PHP. HTML is used everywhere. I plan to use wordpress on the site so will that become a static site? and.. I am still not getting it right.. PHP or HTML.. or both..
php should only be used when you need your page to be "dynamic", not static. Meaning, you can send form results to a PHP script, and the PHP script can decide to output one block of html that you have written or a different block that you have written depending on the form results. So while html is always html, when you use php to decide which block of html you want to use, the server is making a decision about which html it wants to spit out and it decides this using your php instructions. Other people were correct when they said html and php are entirely different things. PHP contains html or uses it based on the decisions that the php makes.