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

Reply
 
Thread Tools
Old 26th June 2014, 06:23 AM   #1
gaylerichardson
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, 06:18 AM   #2
lessbrokerage
Senior Member
 

Join Date: Dec 2013
Location: India
Posts: 133
Smile

HTML is Hypertext Markup Language


PHP is Hypertext Preprocessor

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

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

Default

Gayle,

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

__________________
John Counsel, Marketing Doctor at The Profit Clinic
NEW to FORUM Marketing? Get useful FREE advice at
https://www.facebook.com/groups/Foru...gForBeginners/
MarketingDoctor is offline   Reply With Quote
Old 29th June 2014, 07:23 AM   #4
fairdoes
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.
Quote:
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.
agreed.

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, 05:58 AM   #5
jeanm
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
Default

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, 03:27 PM   #6
qualitycustom
Member
 
qualitycustom's Avatar
 

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

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.

Ron

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

Join Date: Sep 2013
Location: Tustin
Posts: 54
Default

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, 08:51 AM   #8
saytouqeer
Member
 

Join Date: Feb 2014
Posts: 83
Default

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, 01:27 AM   #9
Abhinandan Garg
Member
 

Join Date: Aug 2010
Posts: 78
Default

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, 07:46 AM   #10
gaylerichardson
Senior Member
 

Join Date: Feb 2014
Posts: 217
Default

Hello,

Thanks to all for such a nice feedback

gaylerichardson is offline   Reply With Quote
Reply   

Bookmarks


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


Our volunteer moderators and their websites:
David Wallace
SearchRank - Organic Search Engine Optimization
Old Welsh Guy
Internet Marketing from Wales in the UK
torka
NineYards.com: Helping Businesses Do Business Online
Small Business Answers
Free help to grow your business.

New at Search Engine Guide
The 4 Types Of Website Traffic

New at Small Business Answers
Contractor Estimate - Cancel Contract - Bill of Sale - Evaluation Questions

Employee Evaluation Templates
30 Day Review - 90 Day Review - Annual Review - Employee Self Evaluation - Strength & Weaknesses

New at Small Business Forum
Unusual Ways To Promote Your Business

Crimson Fox
Graphic Design and Brand Promotion and the Brand Design Blog
St0n3y
Search Marketing Results - Pole Position Marketing!
Search Marketing Info - (EMP) E-Marketing Performance
Matt McGee
Small Business SEM - Web marketing discussion for small businesses.
Logan
Tiny Doors Frisco
Things To Do

At Your Business - Small Business Directory
Free Business Forms - Prewritten Documents

Free Links - Free Advertising
Free Guide - Online Directory
Debra Mastaler
Alliance-Link
The Link Spiel Blog
ChristineG
Free Online Marketing and Social Media Tips: Social Media Simplified for Small Business Owners
mktgbiz
Promotional Items Marketing
What I REALLY think!


Visit our small business websites
Small Business Forum | Small Business Answers | Search Engine Guide

All times are GMT -5. The time now is 02:25 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2004 - 2015 K. Clough, Inc. - Privacy