Php Vs Html

Pages: 1, 2, 3
free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > Others

Php Vs Html

Unregistered 015
QUOTE
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).

I must add that one can use PHP to create programs just as he would use any other programing language. There is an extension for PHP that allows you to do this. But PHP was created primarly for web development and (as you said) creation of HTML, on server side, and giving output to client (web agent/browser) as formatted HTML.

Reply

cardude
Where did you guys learn php?

Reply

snlildude87
QUOTE(cardude @ Nov 20 2005, 09:58 PM)
Where did you guys learn php?
*

http://php.net/

Just search any function that you are having problems with, and it'll help you with it.

Reply

Tyssen
QUOTE(ciroxyz @ Nov 21 2005, 08:45 AM)
I must add that one can use PHP to create programs just as he would use any other programing language.

Yes and in that case, there's even less point comparing PHP & HTML cos then they're doing entirely different things.

Reply

Togi
Mmm.. when I saw the topic title, I thought, "PHP vs HTML? Wouldn't it be more helpful to talk about combining the two?"
They're both lovely by themselves, but since, as everyone else has said, they're so different.. putting them together makes for an unstoppable website ^^

I personally use HTML more, since I tend to like things simple.. but the lines of PHP I sprinkle through my pages couldn't be replaced by all the HTML in the world ^^

Reply

XRated
QUOTE(Tyssen @ Nov 20 2005, 05:33 PM)
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).
*



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 wink.gif

 

 

 


Reply

Tyssen
QUOTE(XRated @ Nov 21 2005, 05:52 PM)
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 wink.gif
*


So you're disagreeing with me while at the same time reiterating my point.......riiiiiiiight. huh.gif

Reply

cragllo
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.

Reply

franklinweb
Sorry I made a little mistake. You can't compare php and html. smile.gif

Reply

saga
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. smile.gif

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2, 3
Recent Queries:-
  1. php forms versus html forms - 59.32 hr back. (1)
  2. why use php versus html - 158.76 hr back. (1)
  3. php versus html forms - 227.69 hr back. (1)
  4. .php vs .html - 292.95 hr back. (1)
  5. php versus html pages - 323.86 hr back. (1)
  6. php versus html - 716.34 hr back. (2)
  7. html vs php - 772.88 hr back. (1)
  8. php vs html blog - 786.08 hr back. (1)
  9. php html comparison - 787.45 hr back. (2)
  10. html php compare - 960.27 hr back. (1)
  11. html versus php - 992.07 hr back. (1)
  12. php vs html - 150.30 hr back. (11)
Similar Topics

Keywords : php, html

  1. Showing Html In A Webpage
    (0)
  2. Should I Learn Html Or Php First?
    (17)
    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' /> ....

    1. Looking for php, html

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for php, html

*MORE FROM TRAP17.COM*
advertisement



Php Vs Html



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
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.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE