+ Reply to Thread
Results 1 to 4 of 4

Thread: php html help
      
   

  1. #1
    adele1972's Avatar
    adele1972 is offline Major
    Join Date
    Nov 2007
    Posts
    285

    Red face php html help

    hi all
    can someone tell me about php and html?
    when i look at my site all my pages have html last, but when i look at some other web sites it says php at the end, can someone explain to me about this!
    is it better to have php or htlm?
    thank you for your help
    adele

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: php html help

    php is a server side programming lanuage. It is used mainly when the page needs to do something internally before displaying the results on the screen, in example, verify (if this is a protected page) that the user is logged in, or retrieve data from the database and display them, or perform some kind of calculations, etc. In other words, whenever is required a dynamic behaviour from the page.

    Html is static, it only displays whatever has been designed.

    PHP pages always contain some hrml code which is responsible for the visual output.

    As a good rule, publishing your pages right from the start as php will allow you to eventually add code in them, if required, without having to change them in the furure from html to pho. Thus you preserve your SE ranking and your menus.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    coronaboii's Avatar
    coronaboii is offline Sergeant First Class
    Join Date
    Feb 2007
    Location
    Bangkok
    Posts
    51

    Default Re: php html help

    wow thank you very much for info. naval .. so can i just change from html to php then? is it easy just like that?

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: php html help

    Changing the extension simply means that you will be ready if you want to add php code in your pages, in the future.

    Of course, be simply changing the extension of the page, you are NOT adding any functionalities to the page. You need to write and embed code to get those functionalities.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49