| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #4 (permalink) |
| NamePros Regular Join Date: Jun 2006 Location: Sydney
Posts: 251
![]() ![]() | 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)
__________________ Site Armory, tools for your website | Webmaster SEO Forums | PHP Tutorial and coding forums |
| |
| | #5 (permalink) |
| NamePros Member Join Date: Mar 2006 Location: Trapped in my own little world.
Posts: 47
![]() | 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 |
| |
| | #7 (permalink) |
| Senior Member Join Date: Apr 2005 Location: Joliet, Illinois
Posts: 1,177
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | #8 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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. |
| |
| | #11 (permalink) |
| NamePros Regular Join Date: Jul 2005 Location: U.S.A.
Posts: 655
![]() ![]() | 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 |
| |
| | #12 (permalink) |
| www.bpdir.com Join Date: Jul 2007
Posts: 3,051
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | HTML is a whole lot easier than PHP, esp. if you're going to use a database for PHP.
__________________ Premium DoFollow Directory | Seychelles Triathlon Federation | Free Directory Since 2007! |
| |
| | #13 (permalink) | ||||
| NamePros Regular Join Date: Jun 2006 Location: Sydney
Posts: 251
![]() ![]() |
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.
__________________ Site Armory, tools for your website | Webmaster SEO Forums | PHP Tutorial and coding forums | ||||
| |
| | #14 (permalink) |
| I'll do it ![]() Join Date: Dec 2005 Location: India
Posts: 6,927
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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.
__________________ |
| |
| | #15 (permalink) | ||||||||
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() |
????: 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. | ||||||||
| |
| | #16 (permalink) | ||||
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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. | ||||
| |
| | #17 (permalink) | ||||
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() |
????: 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. | ||||
| |
| | #19 (permalink) |
| NamePros Regular Join Date: Jan 2007 Location: Sheffield Tasmania
Posts: 330
![]() ![]() ![]() ![]() ![]() | 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 |
| |
| | #20 (permalink) |
| NamePros Regular Join Date: Jul 2006 Location: Australia
Posts: 270
![]() ![]() ![]() | 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. |
| |
| | #23 (permalink) | ||||||||
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() |
| ||||||||
| |
| | #25 (permalink) |
| New Member Join Date: Jun 2008
Posts: 11
![]() | 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 |
| |