I'm not much of a php fan. I've been using html and JSPs for all my work.
But i think php is a much more stronger language than html. even though it is cryptic it is faster, dynamic and with many more features. example: accessing databases is possible in php. but i don't think it's possible in simple html.
Html. I don't like PHP right now because I have only tried very few things and I can't find a tutorial I can understand. If anyone knows PHP, then more power to you,but I honestly can't say I like PHP. On Html, you can edit without hardly any errors and interference. You constantly run into errors and problems with PHP. Just this morning there was a problem. Nothing wrong with it, just that I don't have the time to deal with all that.
You can really compare the two because they fall into two different categories. PHP is a scripting language while HTML is a mark-up language. PHP is executed server-side while HTML is rendered client-side. PHP needs to be installed on a server while HTML does not.
Now, PHP and ASP can be compared because the two are scripting languages.
i don't think you can compare php with html. A better comparison would be php and java. Both are really languages, php is much easier to learn than java and doesn't need to be compiled. Plus php workes on all browsers. Learning php is relatively easy if you start off really slow. You can download script from hotscripts.com and adding it to a page is about as compilicated as adding a javascript.round
Ya like snildude and round said you can't really compare the two. They are for two different things. Html is for the layout and design of the site and php is for little programs that keeps your site organized, like navigatoin, content management systems, and membership systems. Some people just don't like php because it is a little more difficult to learn because it is more advanced.
Yeah i also think that these two are hard to compare, since they are mostly used for different purposes! HTML is something that everyone should know if he is making webpages - it is like a bible! I don't know much PHP, only as much as i need to know to sucesfully set up and run my forum....and forums are one thing for which php is great!
We should put JAVAtm also in this comparison i think..
THey are definitely two different things, and it certainly depends on what your purpourses are when making a website. For example, if you have a magazine or a blog and you really need to keep up to date the whole site, then PHP is the answer. Otherwise, if your site is about your own design company, perhaps your best choice must be HTML.
I do not like Java that much and haven't ever worked with JSP nor ASP.
Just like it has been mentioned that you cannot compare them as there are two totally different languages , in my opinion php is more like the C/C++ language . PHP is a server side programming language meant for almost anything you can do remotely, it's a very well developed language and very fun to learn , yes it can be hard but once you start you won't stop
I think everyone's missing the point that the end result of PHP is that it actually outputs HTML to the web browser, the same with nearly all scripting languages designed for web delivery. So, in other words, you can't have PHP without HTML (well you could, but the user wouldn't see anything).
You really can't compare PHP with HTML. FIrst HTML is a markup language, meaning it tells browser on how to display data while PHP is not. PHP is a programming language much like C and VB the only diference is it is not a compiled langugae but just interpreted. The other thing is, PHP is pretty much useless without HTML, the data processed by PHP comes from HTML forms. PHP is used to make HTML more dynamic than the ussual use of Javascript. Its a server side process whili HTML is client side.
hm.... PHP vs HTML? thats cant work. PHP is a preprocessor of HTML, without HTML PHP can't really work. PHP works with HTML.
PHP vs ASP, PHP vs JPS yes PHP vs HTML... no
You can't make a login system with just HTML You can't connect to a MySQL database with just HTML You can't do hardly anything interactive or server side with just HTML
there is no competition here as they dont do the same thing.
In my opinion , no one is missing the point . PHP's purpose isn't to output data on a page , it's purpose is to execute basically anything server side eg. sql query's , you don't see these querys get executed but you can output the results but all im saying is that its true purpose is not to display on a page , that's html's job
So you're disagreeing with me while at the same time reiterating my point.......riiiiiiiight.
I want to learn both, but I just want to know which is probably the easisest to start out with. I
heard that html is easier, but php is more helpfull or something. Well, anyway, if anyone knows,
please reply. Thanks is advance. /laugh.gif' border='0' style='vertical-align:middle'
alt='laugh.gif' /> ...
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE
forum, Create your own topics, Ask Questions, track topics, setup
subscriptions & notifications and Get a Free Website w/ Email and FTP.