PHP vs HTML ?

Discussion in 'HTML & Website Design' started by Jason Foster, Sep 1, 2013.

  1. FTS!

    FTS! Member

    Messages:
    412
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    33
    #21
    How can you compare php and html??? Html is static, while php is dynamic and you can use html in php files.
     
    FTS!, Sep 5, 2013 IP
  2. karen9999

    karen9999 Active Member

    Messages:
    278
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    78
    #22
    PHP files are just like HTML files, but they can include both HTML and PHP code. The PHP code is parsed (or executed) by the Web server when the page is accessed and the resulting output is written as HTML within the Web page. When a user accesses a PHP page, his Web browser only gets sent the HTML code, since the Web server has processed the PHP code in the background.
     
    karen9999, Sep 6, 2013 IP
  3. Ricky Martins

    Ricky Martins Member

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #23
    Html and PHP have no comparison with each other. How could you say this? You have posted this thread to improve your post. I think you do not know anything about these both language.
     
    Ricky Martins, Sep 6, 2013 IP
  4. Zain Malik

    Zain Malik Active Member

    Messages:
    140
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    63
    #24
    I just read that both languages are deffirent stuffs so the question won't able to do. Html is tag language & PHP is scripting language .
     
    Zain Malik, Sep 8, 2013 IP
  5. michaeltsikov

    michaeltsikov Greenhorn

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    21
    #25
    you can't compare php and html. they are soo different from each other.maybe you can compare PHP VS Phyton or PHP Vs ASP
     
    michaeltsikov, Sep 8, 2013 IP
  6. juschan45

    juschan45 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #26
    You mean that they both are same. They are still comparable there are many point of comparision dear.
     
    juschan45, Sep 11, 2013 IP
  7. 1994

    1994 Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #27
    I think these two can't be compared togetter . html is needed any as it's the language for showing forms and lines and tables but the php is a language for server's use ( I know that you can use for printing too but it's not made for that ) . these two complete each other :)
     
    1994, Sep 11, 2013 IP
  8. amyluis

    amyluis Greenhorn

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #28
    PHP and HTML are completely differant languages.
    PHP means Hypertext Preprocessor and HTML means Hypertext Markup Language.
    PHP is an HTML-embedded scripting language.
    PHP is a open source language.
     
    amyluis, Oct 7, 2013 IP
  9. eamiro

    eamiro Well-Known Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #29
    HTML is the final result of PHP script processing
     
    eamiro, Oct 8, 2013 IP
  10. noman_rauf

    noman_rauf Greenhorn

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #30
    PHP and HTML are two different languages. PHP is server side language While HTML is client side language. The result of PHP is Html. We can use html inside the php.
     
    noman_rauf, Oct 9, 2013 IP
  11. davidwillliam

    davidwillliam Greenhorn

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #31
    We don't compare the HTML and PHP because its worse that we are comparing those things which are away from themselves. It is true that HTML is markup language and PHP is scripting language. Some time both work together but this is optionally
     
    davidwillliam, Oct 9, 2013 IP
  12. John Michael

    John Michael Member

    Messages:
    154
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #32
    Yeah, There are a lot of difference between Php and HTML. The core difference between these two languages is that: php is a scripting language which is used for dynamic website while html is a static language.
     
    John Michael, Oct 9, 2013 IP