Welcome Guest ( Log In | Register)



4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> Php Or Html?, which do you use?
CrazyRob
post Jul 11 2007, 02:52 PM
Post #11


ITS ALIVE.....MUHHHAAAA
*********

Group: Members
Posts: 532
Joined: 17-October 05
From: Chippenham UK
Member No.: 13,031



Well PHP was designed to be implemented with HTML so its fully compatible with search engines and you get more flexibility with the webpage as it has PHP functions in it.
Go to the top of the page
 
+Quote Post
svsnipa
post Jul 16 2007, 05:39 PM
Post #12


Newbie
*

Group: Members
Posts: 8
Joined: 3-April 07
Member No.: 41,025



both are real nice. i use a php based system for easy editing because i dont have much time. however i believe that HTML can be really powerful. You can easily design login and design a variety of scripts to make ur site powerful and neat with HTML. Also HTML sites are more stable in my opinion. PHP sites can be hacked easier due to the nature of php scripts
Go to the top of the page
 
+Quote Post
matak
post Jul 17 2007, 04:19 AM
Post #13


Super Member
*********

Group: Members
Posts: 413
Joined: 4-October 06
From: Psychedelic Realms
Member No.: 31,079



QUOTE(habbovalley @ Jul 4 2007, 01:36 AM) *
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.


Html is just a text markup language, and it's used just for that.

Php is server side scripting language, and is used for server side scripting.

To say that you use HTML over PHP? Hm, that's really not a simple thing to compare. If you just have a bunch of simple text which you want to show on the web, than it's best to go with HTML. But PHP is built for User side comunication, so if you want that your visitors (aka Users) can participate in your site dynamicly you will have to use PHP, or any other server side language (ASP).

Of course, even with your knowledge of PHP you will still need to know HTML couse it's the only language used for displaying websites on http protocol.

Let's say this

CODE
<?php
echo "<strong>This text is strong!</strong>";
?>


is just a simple php code that echoes HTML text.

This post has been edited by matak: Jul 17 2007, 04:20 AM
Go to the top of the page
 
+Quote Post
elaks
post Jul 17 2007, 10:52 AM
Post #14


Advanced Member
*******

Group: Members
Posts: 114
Joined: 14-July 07
From: England
Member No.: 46,489



I used Php because it works flawlessly with MySQL (Type of Database). I'm going to assume Html is more popular as that's really what one would start with, but more professional sites are nearly all Php.
Go to the top of the page
 
+Quote Post
Lyon2
post Jul 17 2007, 11:57 AM
Post #15


The Ethical Hacker
***********

Group: [HOSTED]
Posts: 1,155
Joined: 27-May 05
From: Portugal (Europe)
Member No.: 7,566



Any page on the internet uses html, it is the foundation of any website or server, it does not work without html.

php is a great programming language, the best in my opinion, and you can use it on your web pages to spice up your website with dynamic content, scripts, text and images, mainly, it is to complement your website with functions and features that make your life easier as a webdesigner and/or a programmer, to facilitate your clients and visitors of your website, and to save your visitors/clients data in databases like mysql, mssql and txt databases, but there are much more, the most used databases server with php is the mysql server which is open source as you should know.

php stands for pre html processor, which says it all, the php code is processed, in the server, before the html code, it is a server side language, it is executed on the server, not on your browser like javascript or html for instance.

My advice to you is that you must get a very good ebook of html, another for php, another for tcp/ip architecture protocols, another for web design, another for windows systems (because windows operative systems are all pretty much the same thing concerning the way they work, the way they do things, the way they present you with the graphic interfaces of the object applications and system applications), read hacking ebooks too, they are the best for you to be interested in reading and learning at the same time, i did that, and today i have an enormous ammount of information on informatics that i know.

Good luck!

This post has been edited by Lyon2: Jul 17 2007, 11:58 AM
Go to the top of the page
 
+Quote Post
GamerGlitch
post Jul 18 2007, 05:38 AM
Post #16


Advanced Member
*******

Group: Members
Posts: 121
Joined: 30-June 07
Member No.: 45,710



HTML is much easier for me. But. as many others have stated , they are used for different things. HTML can not do as much as PHP, it uses javascript, and other resources for actions where PHP can perform many actions on it's own. PHP is a lot better for forums and membership sites simply because HTML cannot do those login actions by itself.
Go to the top of the page
 
+Quote Post
dc277
post Jul 19 2007, 01:36 PM
Post #17


Newbie
*

Group: Members
Posts: 1
Joined: 19-July 07
Member No.: 46,713



Personally, I use both, when ever writing a PHP script, you still have to use HTML. I never use one or the other, well unless I'm not making it look nice, with just words.
Go to the top of the page
 
+Quote Post
marcio
post Jul 19 2007, 02:38 PM
Post #18


Newbie [Level 1]
*

Group: Members
Posts: 12
Joined: 16-July 07
Member No.: 46,575



Heres a question i can relate too. I programed both in html and php. Im currently programing with php only. Its simple you asking why.beacause php has more potentual than html. If you want to compare functions php has alot more functions than html. Php is also a easy languege to learn compared with some other langueges i worked with for example cgi. With so much that can be done with php theres no doubt why php is the most used languege. So for one will stick with php.
Go to the top of the page
 
+Quote Post
saqib431
post Jul 23 2007, 05:30 AM
Post #19


Newbie [Level 1]
*

Group: Members
Posts: 15
Joined: 18-July 07
Member No.: 46,652



I think php is more powerful then html.
php is a scripting language and html is used to display and texts on net. php is related to powerful programini and html is just basic for web designini.
in html you can do such basic things. and i think in php you can do high and professional level scripting.
and now a days php is becoming more and more popular rather then html... sad.gif