1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Php website or html website...

Discussion in 'Programming' started by imran0709, Jul 9, 2012.

  1. #1
    PHP website is better than HTML website, what's your opinion...
     
    imran0709, Jul 9, 2012 IP
  2. jhine

    jhine Active Member

    Messages:
    25
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    53
    #2
    Best of luck developing a website in PHP without some form of HTML.
     
    jhine, Jul 9, 2012 IP
  3. aqualabs

    aqualabs Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'd say it's different things. PHP is a programming language for creating dynamic applications. While HTML is a markup language.
     
    aqualabs, Jul 9, 2012 IP
  4. extraspecial

    extraspecial Member

    Messages:
    788
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    45
    #4
    Yeah I agree with aqualabs as PHP uses also HTML :) with PHP you will still use HTML but your website will be dynamic...
     
    extraspecial, Jul 9, 2012 IP
  5. lincher

    lincher Member

    Messages:
    65
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    38
    #5
    PHP is server side programming language which allows things like registration and log in while HTML is only good at displaying everything on your page.
     
    lincher, Jul 9, 2012 IP
  6. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #6
    Silly statement since all web sites are HTML web sites.
     
    NetStar, Jul 9, 2012 IP
  7. WebFerret

    WebFerret Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    PHP is used create dynamic HTML. One is not 'better' than the other since they are two entirely different things.
     
    WebFerret, Jul 9, 2012 IP
  8. dylanrodriguez2012

    dylanrodriguez2012 Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hello Guys.

    Php websites is a best, As web development evolved, websites not only became better looking, but they also became more functional and interactive.

    All your comment for programming development are welcome.

    Thanks in advance.
     
    dylanrodriguez2012, Jul 12, 2012 IP
  9. jhine

    jhine Active Member

    Messages:
    25
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    53
    #9
    Perhaps you should read previous comments before commenting with such useless material. They're incomparable.
     
    jhine, Jul 12, 2012 IP
  10. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #10
    An HTML site is like a snapshot - it just sits there. If that's all you need, it's silly to add server-side code (PHP).

    If you need the site to do something, you need at least Javascript. If the "do something" depends on the server in any way - getting data from a database, storing data to a database, sending an email - you need PHP or some other server-side language. (And if you're interacting with a database you almost always need SQL code too.) But the code running in the user's browser will be HTML and, probably, Javascript. (Which you can write as-is, or you can use PHP to generate it, or both.)
     
    Rukbat, Jul 13, 2012 IP
  11. casencover

    casencover Banned

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    not sure about php or html website is good.
     
    casencover, Jul 13, 2012 IP
  12. Optimumsententia

    Optimumsententia Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Well, I do believe you need some initial HTML. Also, I have found some PHP website to be quite slow. To me it doesn't matter. PHP website are not necessarily better.
     
    Optimumsententia, Jul 14, 2012 IP
  13. BRUm

    BRUm Well-Known Member

    Messages:
    3,086
    Likes Received:
    61
    Best Answers:
    1
    Trophy Points:
    100
    #13
    There should be a competency test to post on these forums...
     
    BRUm, Jul 14, 2012 IP
  14. lolpasslol

    lolpasslol Peon

    Messages:
    860
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #14
    "more sugar more sweet",it is true for PHP ,an ordinary HTML site is static ,but if you use PHP it must be dynamic and provide a real test of site.
    So PHP site is the best .
     
    lolpasslol, Jul 14, 2012 IP
  15. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #15
    I'm often shocked when PHP developers don't know enough HTML to be making output, when to be frank that's the ENTIRE POINT OF PHP, to output HTML. It's not a 'either or' situation -- this is like the other programming language question "which is best" -- for it to be a website it MUST be in HTML, what programming language you use to output that HTML is really a non-issue.

    Though if the question is should you write flat HTML or use PHP to glue the different parts with like parts together, go with the glue -- that way all the things that are the same on every page can be shared (and edited) from one place.
     
    deathshadow, Jul 14, 2012 IP
  16. Amator

    Amator Well-Known Member

    Messages:
    1,424
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    165
    #16
    You indeed need to know html in both cases. If your site has no dynamic data then html is good enough. So it depends on what site you are creating...
     
    Amator, Jul 15, 2012 IP
  17. HowardBeck

    HowardBeck Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    You do really nice job,But you need some HTML tag.Some HTML tag are in PHP.
     
    HowardBeck, Jul 18, 2012 IP
  18. vidbull

    vidbull Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    It depends on what you want to do.
    If you want to create dynamic content i.e. use a database or some other variable to create content then you will use some php.
    Most of the time you will use the two together.
     
    vidbull, Jul 19, 2012 IP
  19. SirKonstantine

    SirKonstantine Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #19
    PHP, you can make changes faster.

    Like, changing the nav bar in one file instead of changing every html page.
     
    SirKonstantine, Jul 20, 2012 IP
  20. kdb_bdk

    kdb_bdk Active Member

    Messages:
    163
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    55
    #20
    PHP is dynamic, HTML is static, but HTML5 is all another story :)
     
    kdb_bdk, Jul 20, 2012 IP