|
|
|
|
![]() ![]() |
Jul 3 2007, 11:36 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 3-July 07 Member No.: 45,919 |
Well being a HTML its easy for me but what do people use the most?
Is it HTML or PHP. It depends really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we will see which is more popular. |
|
|
|
Jul 4 2007, 12:03 AM
Post
#2
|
|
|
Desperately seeking "any key" to continue... ![]() Group: Admin Posts: 3,418 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 |
I use PHP because I can manipulate web pages more with PHP than HTML, like including another webpage to the current page with the command include. You can do the same with HTML but have to use bulky <object> command with register keys that's hard to remember. And coming from C++ background, I was able to understand PHP faster compare to HTML commands--especially love the FOR loop and IF, THEN commands.
However, I've been meaning to ask this question: do search engines like HTML page more than PHP page? I made few websites years ago, at the same time, one with PHP and the other one with HTML. Google, it seems, liked HTML pages better than PHP. My backlink search shows HTML cached by Google and none of my PHP cached by Google... Am I dreaming? So, ultimately do you build with HTML (file ending) or PHP (file ending) which to choose? |
|
|
|
Jul 4 2007, 01:10 AM
Post
#3
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 628 Joined: 20-May 06 Member No.: 23,968 |
Well being a HTML its easy for me but what do people use the most? Is it HTML or PHP. It depends really on which you learnt first. So im gonna have a poll.Post HTML for Html and PHP for php and we will see which is more popular. That's a very unfair comparision. HTML is a markup language. It was made to display text and stuff like that in a fancy way. PHP was made as a scripting language to do things like access files, solve mathematical problems, and do repetitive tasks easily. If you're referring to the use of PHP on the web, well, you're going to need to use HTML with PHP anyways if you want to do anything worthwhile. HTML by its own isn't very convienient to update. |
|
|
|
Jul 4 2007, 02:22 AM
Post
#4
|
|
|
Desperately seeking "any key" to continue... ![]() Group: Admin Posts: 3,418 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 |
Tetraca,
Thanks for the pointer. I guess since I use mainly to "calculate" my pages depending on the result, such as random file displaying or visitor's status value (whatever it may be) I just started to use PHP and spit out HTML command using the ECHO. This made me forget your point--PHP is really a scripting language where PHP still depends on HTML markups to render web pages. I did find an answer to my question above...PHP or HTML and does it matter to SEO. QUOTE I will say though, that theirs no seo reasoning behind changing from php to html, I don't know why people worry with that. Mod_rewrite is only worth it to get url's without multiple variables. SourceAt the worse case, I can always rewrite .php to show .html by .htaccess rewrite. |
|
|
|
Jul 4 2007, 03:08 AM
Post
#5
|
|
|
BioKinesis: Nerve - Gonna change ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 507 Joined: 14-April 07 From: Holy Terra Member No.: 41,610 |
It depends on what web page its for. Like if you're doing a web page for some login page then use php, but just a normal page like some introduction about your self with no advanced features i.e. guestbook. Then use html. To me html is easier, but php gives you more functionality. Also if you don't want people looking at your webpage's code use php, only advanced users that know how to create web browsers can know your 'code'
|
|
|
|
Jul 4 2007, 10:48 AM
Post
#6
|
|
|
A clever man learns from his own mistakes, a WISE man learns from those of OTHERS ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 884 Joined: 12-April 06 From: Essex, UK Member No.: 21,719 |
Well as said for almost any website you need HTML, unless its one of those fancy pure css sites. So to be fair virtually 1OO% of websites use HTML so in that sense HTML is more popular, now if the question is about which language i prefer coding in i would say php because i like solving problems more than displaying info.
but in a comparison of sites with html and those using php HTML would win in terms of numbers of websites using it because you dont need t use php to make a website. |
|
|
|
Jul 4 2007, 08:48 PM
Post
#7
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 115 Joined: 18-March 07 From: Indianapolis, IN Member No.: 40,264 |
I use HTML and CSS at the moment because I don't know PHP yet. I would like to learn it soon so it can update stats atuomatically so I don't have to. Example, I plan to make a fanlisting soon and PHP is great with updating member stats right away. There's lots of other reasons. I'll still use HTML though.
|
|
|
|
Jul 4 2007, 09:03 PM
Post
#8
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 228 Joined: 2-June 07 From: U to the S to the A (but i'm haitian) Member No.: 44,040 |
while php is more flexible but it is more confusing than html and it requires a big download to code from my desktop so i prefer to use html. if i realy need php i normaly just download the scripts like wordpress or watever
|
|
|
|
Jul 5 2007, 10:52 PM
Post
#9
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 79 Joined: 30-June 07 Member No.: 45,745 |
I don't think such a question could actually be asked... It's as if you are comparing to objects of different nature... HTML is a markup language which is the basic knowledge in web-designing; it is indispensable. While on the other hand, PHP is a server-side scripting language which allows you to execute scripts on your website. Now if you want to keep it simple for you while coding your website, you can use HTML and at the same time, use PHP... each in its right place and for its right cause.
I just want to point to something... when you want to compare, you have to choose items of like-nature. To be clearer, you can compare PHP to ASP, HTML to XML... something like that. |