Please help! HTML Vs. PHP

Discussion in 'HTML & Website Design' started by omshanti, May 8, 2007.

  1. #1
    Hello Friends,

    I wanted to know the difference that PHP will make over using html.

    I just got my site map ready and wanted to decide if its a good idea to go ahead and design the site with HTML only.

    or

    I must use PHP.

    Please comment as this is very crucial.

    Also, there's a limited time offer. Please visit my signature link and thread.

    OmShanti.
     
    omshanti, May 8, 2007 IP
  2. jgjg

    jgjg Peon

    Messages:
    595
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I am sort of leaning towards php these days because you can use php include files for navigation rather easily.

    also can use dynamic scripts such as random content, or easily add date, time.

    also can use database info on php pages.

    html ok for many sites, but php works great and not too many disadvantages I know of.
     
    jgjg, May 9, 2007 IP
  3. coolguy27

    coolguy27 Banned

    Messages:
    485
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    coolguy27, May 9, 2007 IP
  4. jgjg

    jgjg Peon

    Messages:
    595
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    not proven any difference SEO-wise between php/html
     
    jgjg, May 9, 2007 IP
  5. omshanti

    omshanti Well-Known Member

    Messages:
    515
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Hi!

    You signature is what I was looking for. Wow!

    Fabulous!

    Cheers!

    I just wanted to get a clear picture yet. Its well said that HTML is SEO friendly where as I don't know about PHP.

    So, If I use Dreamweaver to create my site, what would I be implementing, HTML or PHP?

    Thanks.

    Stompernet is closing Friday Midnight Eastern.
     
    omshanti, May 9, 2007 IP
  6. omshanti

    omshanti Well-Known Member

    Messages:
    515
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Cheers!

    Thanks for the site.
     
    omshanti, May 9, 2007 IP
  7. Mooseman

    Mooseman Peon

    Messages:
    453
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Well.. I don't know what you're on about.. cause you must use html in php anyway, right?

    It's two different things.. really. PHP is a programming language.. html is for like displaying data, you can't really "do" anything with html as far as I know
     
    Mooseman, May 10, 2007 IP
  8. badblu

    badblu Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Go with html as php can get a bit indepth
     
    badblu, May 10, 2007 IP
  9. saidev

    saidev Well-Known Member

    Messages:
    328
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    140
    #9
    PHP is a programming language and HTML is a markup language. PHP allow you to create dynamic sites like pulling information out of the database. HTML is static, so everytime you make a change you have to change the actual file.

    SEO wise, they are the same, depends on how you do it. You can always use mod_rewrite to generate meaningful urls and your content should be the same in both PHP and HTML when the spider visits.
     
    saidev, May 10, 2007 IP
  10. bacanze

    bacanze Peon

    Messages:
    2,419
    Likes Received:
    127
    Best Answers:
    0
    Trophy Points:
    0
    #10
    If you need PHP, use it, if you dont, dont use it. It all depends on your website, functionality, purpose etc.
     
    bacanze, May 10, 2007 IP
  11. omshanti

    omshanti Well-Known Member

    Messages:
    515
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #11
    No, I dont know whether I need PHP. HTML is used everywhere.

    I plan to use wordpress on the site so will that become a static site?

    and.. I am still not getting it right..

    PHP or HTML.. or both..
     
    omshanti, May 10, 2007 IP
  12. Arnold9000

    Arnold9000 Peon

    Messages:
    241
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #12
    php should only be used when you need your page to be "dynamic", not static. Meaning, you can send form results to a PHP script, and the PHP script can decide to output one block of html that you have written or a different block that you have written depending on the form results. So while html is always html, when you use php to decide which block of html you want to use, the server is making a decision about which html it wants to spit out and it decides this using your php instructions.

    Other people were correct when they said html and php are entirely different things. PHP contains html or uses it based on the decisions that the php makes.
     
    Arnold9000, May 10, 2007 IP