Welcome to the Small Business Ideas Forum! We are a community of over 100,000 small business folks with over 163,000 posts for you to browse. We pride ourselves on being the friendliest forum you will find and we'd love to have you as a member of our community. Please take a moment and register for a free account. If you need any help, please contact Chris Logan.

Small Business Ideas Forum

Small Business Ideas Forum

A friendly place to share small business ideas and knowledge, ask questions, find help and encourage others that are involved in the small business industry. Topics include small business marketing, generating revenue and small business computing.

Go Back   Small Business Ideas Forum > Small Business Marketing - Online > Search Engine Optimization
Register Search Today's Posts Mark Forums Read

Thread Tools
Old 26th June 2014, 05:23 AM   #1
Senior Member

Join Date: Feb 2014
Posts: 217
Default Difference Between PHP & HTML

What is difference between PHP & HTML?

gaylerichardson is offline   Reply With Quote
Register or log in to remove this ad.
Old 27th June 2014, 05:18 AM   #2
Senior Member

Join Date: Dec 2013
Location: India
Posts: 133

HTML is Hypertext Markup Language

PHP is Hypertext Preprocessor

Lowest Brokerage
lessbrokerage is offline   Reply With Quote
Old 27th June 2014, 12:49 PM   #3
VIP Contributor
MarketingDoctor's Avatar

Join Date: May 2014
Location: Melbourne Australia
Posts: 380
Send a message via Skype™ to MarketingDoctor



The main difference is in functionality, although HTML5 is a major advance in functionality.

PHP uses server-side scripting that most web hosts provide as standard. PHP scripting uses HTML for appearance, but allows easy access to all kinds of extra functions and data handling. PHP also allows you to easily compile pages from a set of elements which can be quickly and easily altered in order to change them on ALL pages of a site.

For example, if you have a header, main menu and footer (all separate pages) you can create your regular pages by using PHP to import those elements into a template that might appear like this:

Header (from the header master page)
Main Menu (from the main menu master page)
Page content
Footer (from the footer master page).

If you need to change your header, menu or footer on all pages of your site, you can simply make those changes on the master pages and every page will reflect those changes.

Many content management systems (CMSs) use PHP, including WordPress.

PHP calls for processing support on the main PHP software resident on your web host's server. As LessBrokerage says, on-page PHP code is a pre-processor language that taps into the server-side software in similar fashion to other scripting systems like PERL, javascript, etc.

Hope this helps. (I've kept it really basic.)


John Counsel, Marketing Doctor at The Profit Clinic
NEW to FORUM Marketing? Get useful FREE advice at
MarketingDoctor is offline   Reply With Quote
Old 29th June 2014, 06:23 AM   #4
VIP Contributor
fairdoes's Avatar

Join Date: Dec 2004
Location: Cornwall UK
Posts: 365
Default php for flexible, extendable websites

The things you can do with PHP seem endless.
PHP also allows you to easily compile pages from a set of elements which can be quickly and easily altered in order to change them on ALL pages of a site.

You can also use php includes to add specific widgets for different categories, only on tag pages, etc.

There are many good PHP books: my favourites
1. php and mysql - Larry Ulman, visual quickpro guides publishers
2. php5, Apache, mysql web development Wrox publishers

There are many BAD WordPress books available, possibly because there are millions of fans of WordPress (including me), some of whom have written "textbooks" full of mistakes in the style of a conversation in the pub.

A very good WordPress book is:

Professional WordPress Design and Development - Stern, Damstra and Williams - Wrox publishers

It goes into extraordinary depth, which most of us don't need, but the basics are covered very well.

Limiting a site to html seems a really bad idea ...

fairdoes is offline   Reply With Quote
Old 30th June 2014, 04:58 AM   #5
VIP Contributor

Join Date: Jul 2004
Location: Bunbury, Western Australia - way down in the bottom left corner of the country if you look at a map.
Posts: 225

Php was one of the best things I've ever discovered. I'm very I.T. challenged and I can still manage to use it.

Jean Morrison
Pressed tin ceilings "Come see these fancy ceilings we 'ave down 'ere in Oz." Cheap and easy recipes from a very lazy cook!
jeanm is offline   Reply With Quote
Old 30th June 2014, 02:27 PM   #6
qualitycustom's Avatar

Join Date: May 2014
Location: Seattle, WA
Posts: 7

Let me try to give you some input that might be of service to someone that doesn't understand PHP. I assume you know what HTML is. In short, HTML is a language for formatting information in a web browser and it runs inside your browser on your local device.

Let me explain Javascript as well as it is instrumental in all this. Javascript like HTML runs in your browser. Where HTML formats your page information, Javascript is more traditional programming and can work with variables and data elements. In other words it can make decisions about what to show (through HTML) based on what they user pushes or enters into the browser.

PHP is like Javascript but runs on the server where all the web pages are kept. It can decide which page to send down to the browser based on information sent up to it from the users computer. It also can connect to a database at the server so you can customize information you show to the user.


qualitycustom is offline   Reply With Quote
Old 1st July 2014, 05:02 AM   #7
gmrwebteam's Avatar

Join Date: Sep 2013
Location: Tustin
Posts: 54

HTML(Hypertext Markup Language) is most commonly used of creating web pages . We can create static website using HTML . It works on client computer.
PHP (Hypertext pre-processor) is a scripting language, and can be used to create web pages written in HTML. PHP runs on the server ‘s PHP engine. We can create dynamic website using PHP.
HTML is very easy and forgiving of mistakes while PHP is not. If you want to learn PHP you need to learn HTML.

gmrwebteam is offline   Reply With Quote
Old 1st July 2014, 07:51 AM   #8

Join Date: Feb 2014
Posts: 83

HTML is used for making the basic structure of the webpages. PHP is the server side script language use for web development and back end of the websites.

Designbarpro | Kachrapatti
saytouqeer is offline   Reply With Quote
Old 3rd July 2014, 12:27 AM   #9
Abhinandan Garg

Join Date: Aug 2010
Posts: 78

Difference Between PHP & HTML Well PHP & HTML both are coding languages! Those are used to create website & Blog pages ! PHP is well know as Hypertext Preprocessor & HTML is also well know as Hypertext Markup Language !

Abhinandan Garg is offline   Reply With Quote
Old 3rd July 2014, 06:46 AM   #10
Senior Member

Join Date: Feb 2014
Posts: 217


Thanks to all for such a nice feedback

gaylerichardson is offline   Reply With Quote


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated From Html To Php fairdoes Reviews 0 31st May 2013 09:21 AM
HTML And PHP Web Form Service Engine iorgus11 Computer Software 0 14th September 2010 02:06 AM
PHP Question: Converting Special Characters To HTML Robert Website Development 10 27th January 2010 04:15 PM
Add Php To Existing Html Pages fairdoes Website Development 5 16th October 2009 02:55 AM

Thread Tools

Get Updates
RSS Feeds:
RSS Feed for Search Engine Optimization RSS for this Category Only: Search Engine Optimization

RSS Feed for Small Business Ideas Forum RSS for Entire Forum
Forum Rules

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
Forum Jump

Small Business Ideas Forum

At Your Business - Small Business Directory
Free Business Forms - Prewritten Documents
Search Engine Guide
Small business guide to search marketing

Small Business Brief
Fetching the Best Small Business Info

Used Values - Free Links
Blue Book

All times are GMT -5. The time now is 04:05 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2004 - 2018 - Privacy