[advanced search]
Results from the most recent live auction are here.
14 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Reply
 
Thread Tools
Old 05-23-2008, 03:15 AM   · #1
Mirey86
New Member
 
Mirey86's Avatar
 
Trader Rating: (0)
Join Date: May 2008
Posts: 3
NP$: 0.00 (Donate)
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


Please register or log-in into NamePros to hide ads
Mirey86 is offline   Reply With Quote
Old 05-23-2008, 03:17 AM   · #2
weblord
www.1weblord.com
 
weblord's Avatar
 
Name: William R. Nabaza - williamrnabaza.com
Location: Philippines - www.Nabaza.com
Trader Rating: (224)
Join Date: Dec 2005
Posts: 18,163
NP$: 16235.78 (Donate)
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
weblord is offline  
  Reply With Quote
Old 05-23-2008, 04:51 AM   · #3
dmi
NamePros Regular
 
dmi's Avatar
 
Name: Samir
Location: N43°54′, E017°40′
Trader Rating: (10)
Join Date: Jan 2008
Posts: 400
NP$: 168.50 (Donate)
dmi is just really nicedmi is just really nicedmi is just really nicedmi is just really nice
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.
__________________
STATUS: On vacation until October

Silver Lake California | Hilarious videos | Montenegro travel | How to earn money at home
dmi is offline   Reply With Quote
Old 05-23-2008, 07:27 AM   · #4
-PS-
NamePros Regular
 
-PS-'s Avatar
 


Name: Justin
Location: Sydney
Trader Rating: (16)
Join Date: Jun 2006
Posts: 249
NP$: 205.95 (Donate)
-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   Reply With Quote
Old 05-23-2008, 08:36 AM   · #5
elecktricity
NamePros Member
 
Location: Trapped in my own little world.
Trader Rating: (1)
Join Date: Mar 2006
Posts: 47
NP$: 0.00 (Donate)
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   Reply With Quote
Old 05-23-2008, 10:36 AM   · #6
rafaelrls
NamePros Member
 
rafaelrls's Avatar
 
Location: me = new (live(in.paradise())
Trader Rating: (-1)
Join Date: Jan 2008
Posts: 154
NP$: 0.00 (Donate)
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   Reply With Quote
Old 05-23-2008, 11:47 AM   · #7
RageD
Senior Member
 
Name: Dennis
Location: Joliet, Illinois
Trader Rating: (42)
Join Date: Apr 2005
Posts: 1,140
NP$: 57.10 (Donate)
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 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   Reply With Quote
Old 05-23-2008, 03:01 PM   · #8
mholt
DNOA Member
 
Name: Matthew Holt
Location: 127.0.0.1
Trader Rating: (75)
Join Date: May 2004
Posts: 4,867
NP$: 17.21 (Donate)
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.
__________________
FREE: Help With Code

Includes other technical topics:
programming, development, Windows, domain names, and Internet
mholt is offline   Reply With Quote
Old 05-23-2008, 03:12 PM   · #9
MJ
NamePros Regular
 
MJ's Avatar
 


Name: MJ
Location: Tucson AZ
Trader Rating: (76)
Join Date: Jul 2007
Posts: 825
NP$: 1346.37 (Donate)
MJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud ofMJ has much to be proud of
Autism Special Olympics
Originally Posted by -PS-
well that's like comparing apples and oranges..



Completely different.
MJ is offline   Reply With Quote
Old 05-24-2008, 06:12 AM   · #10
squid
Account Closed
 
squid's Avatar
 
Name: Sam Ryan
Location: Stafford
Trader Rating: (51)
Join Date: Jan 2008
Posts: 993
NP$: 15.00 (Donate)
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   Reply With Quote
Old 05-27-2008, 07:34 PM   · #11
Coolprogram
NamePros Regular
 
Name: Pete
Location: U.S.A.
Trader Rating: (12)
Join Date: Jul 2005
Posts: 648
NP$: 67.00 (Donate)
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
__________________
Your Link Here 10np$ a month Please PM me if you want theses spaces
' '
' '
ProTechGFX.com
Coolprogram is offline   Reply With Quote
Old 05-28-2008, 07:12 AM   · #12
dezinerite
Senior Member
 
dezinerite's Avatar
 
Name: Sabz
Location: Dorm Room
Trader Rating: (56)
Join Date: Jul 2007
Posts: 1,951
NP$: 224.62 (Donate)
dezinerite has much to be proud ofdezinerite has much to be proud ofdezinerite has much to be proud ofdezinerite has much to be proud ofdezinerite has much to be proud ofdezinerite has much to be proud ofdezinerite has much to be proud ofdezinerite has much to be proud of
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 online now   Reply With Quote
Old 05-28-2008, 06:37 PM   · #13
-PS-
NamePros Regular
 
-PS-'s Avatar
 


Name: Justin
Location: Sydney
Trader Rating: (16)
Join Date: Jun 2006
Posts: 249
NP$: 205.95 (Donate)
-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.

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   Reply With Quote
Old 05-29-2008, 12:10 AM   · #14
-Nick-
I'll do it
 
-Nick-'s Avatar
 
Name: Keral. Patel.
Location: India
Trader Rating: (98)
Join Date: Dec 2005
Posts: 5,421
NP$: 9199.05 (Donate)
-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute-Nick- has a reputation beyond repute
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   Reply With Quote
Old 05-30-2008, 02:33 PM   · #15
monaco
NamePros Regular
 
monaco's Avatar
 
Location: Tucson, AZ
Trader Rating: (0)
Join Date: Jul 2005
Posts: 649
NP$: 22.50 (Donate)
monaco is on a distinguished road
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.

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   Reply With Quote
Old 05-31-2008, 11:43 AM   · #16
mholt
DNOA Member
 
Name: Matthew Holt
Location: 127.0.0.1
Trader Rating: (75)
Join Date: May 2004
Posts: 4,867
NP$: 17.21 (Donate)
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.
__________________
FREE: Help With Code

Includes other technical topics:
programming, development, Windows, domain names, and Internet
mholt is offline   Reply With Quote
Old 06-01-2008, 02:26 AM   · #17
monaco
NamePros Regular
 
monaco's Avatar
 
Location: Tucson, AZ
Trader Rating: (0)
Join Date: Jul 2005
Posts: 649
NP$: 22.50 (Donate)
monaco is on a distinguished road
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.

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   Reply With Quote
Old 06-01-2008, 02:42 AM   · #18
longroad
NamePros Regular
 
longroad's Avatar
 
Location: Australia
Trader Rating: (22)
Join Date: Jul 2006
Posts: 271
NP$: 0.00 (Donate)
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   Reply With Quote
Old 06-01-2008, 07:10 AM   · #19
philski
NamePros Member
 
philski's Avatar
 
Location: Sheffield
Trader Rating: (7)
Join Date: Jan 2007
Posts: 176
NP$: 0.00 (Donate)
philski has a spectacular aura aboutphilski has a spectacular aura about
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.
__________________
Phillip
tycoon.net.au
philski is offline   Reply With Quote
Old 06-01-2008, 08:37 PM   · #20
longroad
NamePros Regular
 
longroad's Avatar
 
Location: Australia
Trader Rating: (22)
Join Date: Jul 2006
Posts: 271
NP$: 0.00 (Donate)
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   Reply With Quote
Old 06-02-2008, 02:45 AM   · #21
bbrez1
NamePros Member
 
Trader Rating: (13)
Join Date: May 2008
Posts: 66
NP$: 240.00 (Donate)
bbrez1 is on a distinguished roadbbrez1 is on a distinguished road
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.
__________________
Flash Games

Web 2.0 color picker
bbrez1 is offline   Reply With Quote
Old 06-02-2008, 10:52 AM   · #22
.jd.
Account Closed
 
Trader Rating: (28)
Join Date: Mar 2007
Posts: 992
NP$: 0.00 (Donate)
.jd. is just really nice.jd. is just really nice.jd. is just really nice.jd. is just really nice
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   Reply With Quote
Old 06-02-2008, 01:32 PM   · #23
monaco
NamePros Regular
 
monaco's Avatar
 
Location: Tucson, AZ
Trader Rating: (0)
Join Date: Jul 2005
Posts: 649
NP$: 22.50 (Donate)
monaco is on a distinguished road
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   Reply With Quote
Old 06-05-2008, 10:10 AM   · #24
Maurizio1230
NamePros Regular
 
Maurizio1230's Avatar
 
Trader Rating: (0)
Join Date: Jan 2007
Posts: 314
NP$: 2235.00 (Donate)
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   Reply With Quote
Old 06-08-2008, 04:32 AM   · #25
hostingbuster
New Member
 
Trader Rating: (0)
Join Date: Jun 2008
Posts: 11
NP$: 0.00 (Donate)
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   Reply With Quote
Reply

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump