Welcome Guest ( Log In | Register)



5 Pages V  « < 2 3 4 5 >  
Reply to this topicStart new topic
> Php Or Html?, which do you use?
habbopixelz
post Aug 23 2007, 01:21 AM
Post #31


Newbie [Level 1]
*

Group: Members
Posts: 18
Joined: 22-August 07
Member No.: 48,600



at 1st i was using all html but then i started studying xhtml, php, and javascript

im very good at html and php

lately ive been using xhtml
Go to the top of the page
 
+Quote Post
thugsmoke058
post Aug 27 2007, 01:22 PM
Post #32


Member [Level 1]
****

Group: Members
Posts: 65
Joined: 25-August 07
From: Philippines
Member No.: 48,803



Html is much easier for website
i use html for my web template and its too easy i can say it and i'm using dreamweaver so that much easier because they have auto html its just like if you put anything img or you click something then tata there's the code for the templates
Go to the top of the page
 
+Quote Post
m4rk0551
post Aug 30 2007, 07:09 PM
Post #33


Newbie [Level 2]
**

Group: Members
Posts: 29
Joined: 30-March 07
Member No.: 40,845



I know a bit of html and a tad of php (Syntax, Variables, Echo, Strings and Operators) but when I do learn both quiet well, I will probably use php as most good looking websites I have seen use Php (and also html too i guess). So I'd probably use both actually.
Go to the top of the page
 
+Quote Post
hitmanblood
post Aug 30 2007, 08:02 PM
Post #34


Privileged Member
*********

Group: [HOSTED]
Posts: 786
Joined: 13-April 07
From: mreža
Member No.: 41,558



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.


This is very strange comparisson and I would say that you cannot compare it in such a way because PHP is scripting language and HTML is markup language (HTML is abbreviation for the hyper text markup language).

So this is really strange comparisson. You should first consider in which situation you would like to use each and just to add if you use HTML you can create web site but you cannot create web site without HTML that is you can but it would be really ugly and it would be able to present just some simple outputs. Though there are many other things that you cannot do with HTML that is why you use PHP.

Also I would like to add that PHP is language that is being executed on the server that is on the server side, while HTML is client sided that is HTML is processed and executed on the client side that is Browser is defining and executed commands from HTML file.

And someone said here that he has problems that his or hers pages aren't cashed in google cash this is not problem with HTML and PHP and certainly not with google problem lyies in simple thing that pages that use also PHP are not static and that is why google doesn't remembers them.
Go to the top of the page
 
+Quote Post
Forbez
post Aug 30 2007, 11:08 PM
Post #35


Privileged Member
*********

Group: [HOSTED]
Posts: 650
Joined: 13-December 06
Member No.: 35,271
myCENT:18.81



I do a mixture of both really. Html to set out the site and just php scripts for stuff which requires me to connect to my sql database and display information.

For the html I do mostly <div> with the class from my css stylesheet. For the php scritping, mostly connecting to mysql and displaying data. I really ought to learn more php.

I personally vote for Php scritping though, alot more advanced and gives a better feel to the site. Which always changes depending on whats happening to the site.
Go to the top of the page
 
+Quote Post
J_M
post Aug 31 2007, 02:34 AM
Post #36


Newbie [Level 2]
**

Group: Members
Posts: 26
Joined: 19-August 07
Member No.: 48,427



Php or HTML? It's not like you have a choice without HTML. What are you going to use on the web if you're not using HTML?
Php with HTML, yes, that's a great combination. I generally make snippets of code in HTML and unite them using PHP includes/requires. Thats' a great way to develop websites. You can use and reuse your code a lot of times using Php includes and require commands.
If you want to find out how they work, well you can go to http://www.w3schools.com/php and read about them. It's really very simple as far as includes and requires are concerned.
Go to the top of the page
 
+Quote Post
minimcmonkey
post Nov 1 2008, 07:55 PM
Post #37


Super Member
*********

Group: [HOSTED]
Posts: 301
Joined: 19-June 08
From: United Kingdom - Cornwall!!!!!
Member No.: 63,876
myCENT:94.98



In the case of PHP, you cant use one without the other, the PHP has to output HTML.
I always make my sites in PHP, even static ones. i leave some spare variables for headers ect, i can pass data to it if I need to, that way, i can refer people to my site, with a cookie, or information stored in the URL, to do things like, display a link back the referrer site etc.
Also, tat way, if I decide I want to add interactivity to it, I can, without having to re-design the site.

This post has been edited by minimcmonkey: Nov 4 2008, 04:15 PM
Go to the top of the page
 
+Quote Post
pyost
post Nov 1 2008, 10:56 PM
Post #38


Newbie [Level 1]
*

Group: Members
Posts: 22
Joined: 22-November 07
From: Belgrade, Serbia
Member No.: 53,492
myCENT:90.62



QUOTE(minimcmonkey @ Nov 1 2008, 08:55 PM) *
In the case of PHP, you cant use one without the other, the PHP has to output HTML.


Not quite... You could also output an image with the appropriate headers wink.gif
Go to the top of the page
 
+Quote Post
harrison858
post Nov 2 2008, 04:04 AM
Post #39


Member [Level 2]
*****

Group: Members
Posts: 78
Joined: 29-October 08
Member No.: 70,978
myCENT:89.25



I think a good combination of the two would be a good idea, depends what you're doing.

HTML for starters, if you're good at scripting then use PHP. Im new at PHP, so it looks confusing to me. People that know how to use PHP say that it is only a little bit confusing.

For now, i'll stick to HTML, and then I'll probably steal a couple of scripts tongue.gif