Jump to content

Which one - PHP or Html?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
18 replies to this topic

#1
Kolyn_Kryw

Kolyn_Kryw

    Newbie

  • Members
  • Pip
  • 6 posts
Hi

Which one do you feel comfortable in using, PHP or Html?

Thanks
_________________
weight loss epilasyon

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
You can't really compare them. HTML is a mark-up language, while PHP is a scripting language, which actually generates HTML.

#3
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
You can't compare them:

PHP is a server side programming language that outputs HTML.
HTML is a markup language used to format text for display.

So I'm more comfortable with both of them. You have to be comfortable with HTML to understand what PHP is doing and knowing HTML will help you with your PHP programming.

#4
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Actually, you can use PHP for server side scripting that generates no HTML at all. For the most part though, PHP is used to generate dynamic webpages by presenting HTML. I feel more comfortable with PHP but you should learn HTML before you begin using PHP.

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Currently, I'd have to say HTML, but only because I do my server-side scripting in ColdFusion and ASP. PHP is on the "to learn" list.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
Don't all server-side languages output HTML? That's how I thought it worked but I'm not really sure.

Edited by chili5, 05 June 2008 - 11:57 PM.


#7
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts

"chili5" said:

Don't all server-side languages output HTML?
Yes, but many of the server-side languages can run as interpreted languages which runs through the terminal, or similar.

#8
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I'd say HTML it's simpler, but I'm learning PHP bit by bit :)

#9
chili5

chili5

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 7,247 posts
I just finished learning HTML so now I'm learning PHP and JavaScript. Mostly PHP right now but I have books for both of them and I found an incredible site to learn PHP from.

#10
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
I'm more competent in PHP than HTML.

#11
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
You could use PHP to output text without HTML. The only difference is, the text would all be on one line, with no formatting or anything... :D
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#12
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts

Xav said:

You could use PHP to output text without HTML. The only difference is, the text would all be on one line, with no formatting or anything... :D

That's how it would appear in a browser, but you can use the new line character to format the text in the console.