NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Which one - PHP or Html?

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 05-23-2008, 04:15 AM THREAD STARTER               #1 (permalink)
New Member
 
Mirey86's Avatar
Join Date: May 2008
Posts: 3
Mirey86 is an unknown quantity at this point
 



Which one - PHP or Html?


Hi

Which one do you feel comfortable in using, PHP or Html?

Thanks
Mirey86 is offline  
Old 05-23-2008, 04:17 AM   #2 (permalink)
NamePros Legend
 
weblord's Avatar
Join Date: Dec 2005
Location: Philippines - www.Nabaza.com
Posts: 19,785
weblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatnessweblord Has achieved greatness
 


Autism Protect Our Planet
both. they have different applications, you get a lot using php
__________________
Nabaza.com - Amaia
weblord is offline  
Old 05-23-2008, 05:51 AM   #3 (permalink)
dmi
NamePros Regular
 
dmi's Avatar
Join Date: Jan 2008
Location: N43°54′, E017°40′
Posts: 976
dmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant futuredmi has a brilliant future
 


Save a Life Protect Our Planet
Depends on what I want to build. If I want to build a simple website, HTML is the way to go. On the other hand, if I need a mid-high complex site, can't go without PHP.
dmi is offline  
Old 05-23-2008, 08:27 AM   #4 (permalink)
NamePros Regular
 
-PS-'s Avatar
Join Date: Jun 2006
Location: Sydney
Posts: 251
-PS- will become famous soon enough-PS- will become famous soon enough
 



well that's like comparing apples and oranges..

HTML is to display data to the page - php is to create that data (very simple overview). always use html/xhtml, but only use php when i need to change data on pages depending on the page load (ie database's driven sites like blogs etc)
-PS- is offline  
Old 05-23-2008, 09:36 AM   #5 (permalink)
NamePros Member
Join Date: Mar 2006
Location: Trapped in my own little world.
Posts: 47
elecktricity is an unknown quantity at this point
 



PHP and HTML are VERY different. HTML is static is does not change it is just display options. PHP is dynamic is interacts with a database which means the actual code does not change but the display does. Since both are free and easy to learn I am sure most people here feel well about using both.
__________________
$50 Weekly Design Contest at: Icon Rush - Browse, Add, Create
elecktricity is offline  
Old 05-23-2008, 11:36 AM   #6 (permalink)
NamePros Member
 
rafaelrls's Avatar
Join Date: Jan 2008
Location: me = new (live(in.paradise())
Posts: 174
rafaelrls is an unknown quantity at this point
 



PHP is a programming language. It can even make desktop applications
HTML is just a marckup language (language for documents on the web)
rafaelrls is offline  
Old 05-23-2008, 12:47 PM   #7 (permalink)
Senior Member
Join Date: Apr 2005
Location: Joliet, Illinois
Posts: 1,177
RageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to beholdRageD is a splendid one to behold
 


Child Abuse
Put simply, you won't use PHP without HTML if you're putting it into some sort of webpage. Think of it this way:

HTML - Makes everything look nice and actually IS what you see on the site

PHP - Site functionality. The reason everything works on [a PHP] site is because of PHP.

That holds true for other coding languages as well. E.g.: Perl, cgi, etc.

-RageD
RageD is offline  
Old 05-23-2008, 04:01 PM   #8 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
PHP is logic. HTML is layout. Click View->Source. That's HTML. What you DON'T see is the PHP powering these forums, the ability to make posts, etc.

So I am very comfortable using both. Actually, I don't use HTML... it is depreciated. I use XHTML.
mholt is offline  
Old 05-23-2008, 04:12 PM   #9 (permalink)
MJ
Senior Member
 
MJ's Avatar
Join Date: Jul 2007
Location: Tucson AZ
Posts: 1,242
MJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond reputeMJ has a reputation beyond repute
 


Autism Special Olympics Adoption Baby Health Child Abuse
Originally Posted by -PS-
well that's like comparing apples and oranges..
Completely different.
__________________
Wii Sucks - Wii Fansite
Tucson Dog Training
San Angelo TX
MJ is offline  
Old 05-24-2008, 07:12 AM   #10 (permalink)
Account Suspended
 
squid's Avatar
Join Date: Jan 2008
Location: Stafford
Posts: 993
squid is a splendid one to beholdsquid is a splendid one to beholdsquid is a splendid one to beholdsquid is a splendid one to beholdsquid is a splendid one to beholdsquid is a splendid one to beholdsquid is a splendid one to behold
 


Special Olympics Myanmar Relief
HTML is a markup language, PHP is backend :/

I'd rather use both together than one or the other...
squid is offline  
Old 05-27-2008, 08:34 PM   #11 (permalink)
NamePros Regular
Join Date: Jul 2005
Location: U.S.A.
Posts: 655
Coolprogram has a spectacular aura aboutCoolprogram has a spectacular aura about
 



Well, I use both... I feel exactly the same comfort with both... Granted that HTML is a beginning language henceforth is easier to code with, PHP is amazing for creating CMS' and much much more, and as people have said before HTML is a Markup Language (Hypertext Markup Language to be exact ) and PHP is as squid said backend. Both have very versatile functions, and can be used to make amazing web pages, but when used together with JS and CSS they are amazing...
-Coolprogram
Coolprogram is offline  
Old 05-28-2008, 08:12 AM   #12 (permalink)
www.bpdir.com
 
dezinerite's Avatar
Join Date: Jul 2007
Posts: 3,051
dezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond reputedezinerite has a reputation beyond repute
 



Wildlife Breast Cancer Ethan Allen Fund Tsunami Relief AIDS/HIV
HTML is a whole lot easier than PHP, esp. if you're going to use a database for PHP.
dezinerite is offline  
Old 05-28-2008, 07:37 PM   #13 (permalink)
NamePros Regular
 
-PS-'s Avatar
Join Date: Jun 2006
Location: Sydney
Posts: 251
-PS- will become famous soon enough-PS- will become famous soon enough
 



Originally Posted by mholt
PHP is logic. HTML is layout. Click View->Source. That's HTML. What you DON'T see is the PHP powering these forums, the ability to make posts, etc.
????: NamePros.com http://www.namepros.com/programming/472653-which-one-php-or-html.html

So I am very comfortable using both. Actually, I don't use HTML... it is depreciated. I use XHTML.


html isn't depreciated - otherwise they wouldn't be creating html 5.0 currently, xhtml and html are made to do the same thing in different ways, and also are cross compatible.
-PS- is offline  
Old 05-29-2008, 01:10 AM   #14 (permalink)
I'll do it
 
-Nick-'s Avatar
Join Date: Dec 2005
Location: India
Posts: 6,927
-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness-Nick- Has achieved greatness
 


Member of the Month
September 2007
Adoption
HTML is HTML

While PHP has the power of PHP and HTML both

So I usually go for PHP even in simple ones. Maybe in future I need to rotate ads or anything it becomes easy for me to just include a file or two.
-Nick- is offline  
Old 05-30-2008, 03:33 PM   #15 (permalink)
NamePros Regular
 
monaco's Avatar
Join Date: Jul 2005
Location: Tucson, AZ
Posts: 689
monaco will become famous soon enough
 



Originally Posted by mholt
Actually, I don't use HTML... it is depreciated
Originally Posted by -PS-
html isn't depreciated
Deprecated. Depreciation is a loss of an asset's value over time.
????: NamePros.com http://www.namepros.com/showthread.php?t=472653

I generally use PHP for small sites that don't have to do much. If it has to process/store a lot of data or be at all reliable, I use Java running on Resin or Tomcat.
__________________
My Website | My Blog
monaco is offline  
Old 05-31-2008, 12:43 PM   #16 (permalink)
DNOA Member
Join Date: May 2004
Posts: 5,040
mholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant futuremholt has a brilliant future
 


Autism Marrow Donor Program 9/11/01 :: Never Forget Multiple Sclerosis Adoption Alzheimer's Lou Gehrig's Disease (ALS)
Originally Posted by monaco
Deprecated. Depreciation is a loss of an asset's value over time.

I generally use PHP for small sites that don't have to do much. If it has to process/store a lot of data or be at all reliable, I use Java running on Resin or Tomcat.
Hey, to some people, HTML is an asset. However, one would consider it "deprecated" since XHTML allows for things that most modern websites should be using that HTML doesn't let you do in compliance with standards.
mholt is offline  
Old 06-01-2008, 03:26 AM   #17 (permalink)
NamePros Regular
 
monaco's Avatar
Join Date: Jul 2005
Location: Tucson, AZ
Posts: 689
monaco will become famous soon enough
 



Originally Posted by mholt
Hey, to some people, HTML is an asset. However, one would consider it "deprecated" since XHTML allows for things that most modern websites should be using that HTML doesn't let you do in compliance with standards.
I half-agree with you there...HTML is being used less and less, but since the w3c still considers HTML a standard (and hence has not officially deprecated it) it's still valid for use. So it's being socially deprecated, but since it's officially "in-use", browsers will still need to support it.
????: NamePros.com http://www.namepros.com/showthread.php?t=472653

My personal opinion, I wish they'd get rid of it. Browsers would be a lot easier to write and maintain with fewer standards anyway.
__________________
My Website | My Blog
monaco is offline  
Old 06-01-2008, 03:42 AM   #18 (permalink)
NamePros Regular
 
longroad's Avatar
Join Date: Jul 2006
Location: Australia
Posts: 270
longroad is a jewel in the roughlongroad is a jewel in the roughlongroad is a jewel in the rough
 



You cant compare PHP and HTML (well, you need HTML to use PHP anyway).
longroad is offline  
Old 06-01-2008, 08:10 AM   #19 (permalink)
NamePros Regular
 
philski's Avatar
Join Date: Jan 2007
Location: Sheffield Tasmania
Posts: 330
philski is a glorious beacon of lightphilski is a glorious beacon of lightphilski is a glorious beacon of lightphilski is a glorious beacon of lightphilski is a glorious beacon of light
 



im a html sort of guy, mostly because i understand it. and its very forgiving if you stuff up the code a bit,.

BUT, i know PHP has a massive amount of power and time saving in the long run, so php is really worth learning. I did get a few php books this week actually, that will take me O' about 5 years to learn. But hey, its worth it.
__________________
DNOA
philski is offline  
Old 06-01-2008, 09:37 PM   #20 (permalink)
NamePros Regular
 
longroad's Avatar
Join Date: Jul 2006
Location: Australia
Posts: 270
longroad is a jewel in the roughlongroad is a jewel in the roughlongroad is a jewel in the rough
 



If you want a site that does nothing, use HTML (and there's nothing wrong with a site that doesn't do much).
If you want a site that is highly interactive with your visitors then use PHP.
It totally depends on your goals for the website.
longroad is offline  
Old 06-02-2008, 03:45 AM   #21 (permalink)
NamePros Regular
 
bbrez1's Avatar
Join Date: May 2008
Location: Slovenia
Posts: 408
bbrez1 is a splendid one to beholdbbrez1 is a splendid one to beholdbbrez1 is a splendid one to beholdbbrez1 is a splendid one to beholdbbrez1 is a splendid one to beholdbbrez1 is a splendid one to beholdbbrez1 is a splendid one to beholdbbrez1 is a splendid one to behold
 



I use both of course. If you want a static site then use only html but for dynamic sites you need both. Use both! PHP Is so simple.
__________________
No signature! :o
bbrez1 is offline  
Old 06-02-2008, 11:52 AM   #22 (permalink)
Senior Member
Join Date: Mar 2007
Posts: 1,080
.jd. is a glorious beacon of light.jd. is a glorious beacon of light.jd. is a glorious beacon of light.jd. is a glorious beacon of light.jd. is a glorious beacon of light
 



Php took me a week to learn.. 3 days to learn the syntax 4 days to code a guest book from scratch.. Now making a Blog CMS. Good luck, learn both
.jd. is offline  
Old 06-02-2008, 02:32 PM   #23 (permalink)
NamePros Regular
 
monaco's Avatar
Join Date: Jul 2005
Location: Tucson, AZ
Posts: 689
monaco will become famous soon enough
 



Originally Posted by longroad
well, you need HTML to use PHP anyway
Not true at all; you can write applications in php using the php cli to run them without ever touching html.
Originally Posted by philski
and its very forgiving if you stuff up the code a bit
I wouldn't say that...browsers are completely unforgiving if you mess up, creating problems ranging from a completely hosed layout, to a layout that only hoses on a browser you never tested it with.
__________________
My Website | My Blog
monaco is offline  
Old 06-05-2008, 11:10 AM   #24 (permalink)
NamePros Regular
 
Maurizio1230's Avatar
Join Date: Jan 2007
Posts: 447
Maurizio1230 is on a distinguished road
 



I advice you php because PHP is dynamic and HTML is static.
But you can insert your html code in php too.
Maurizio1230 is offline  
Old 06-08-2008, 05:32 AM   #25 (permalink)
New Member
Join Date: Jun 2008
Posts: 11
hostingbuster is an unknown quantity at this point
 



well if you are just wanting to make a simple website with text the html and css is what you need but if you want your website to have fuctions to it like let members join or post stuff them selfs then you will need php to do this and maybe mySQL

both do different things but can be used to gether
hostingbuster is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 05:36 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger