SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Convert html to php.

    I have a website in html and now i want to change the whole website in php because now i want database attach with my site and in html it is not possible that's why i want to convert. but how could i change my whole website it is possible or have to make new website for it?


    ___________________________
    web development | Software Development

  2. #2
    SitePoint Wizard bronze trophy Immerse's Avatar
    Join Date
    Mar 2006
    Location
    Netherlands
    Posts
    1,661
    Mentioned
    7 Post(s)
    Tagged
    1 Thread(s)
    Well, it is possible, but it all depends on what you want to do.
    What do you want to extract from the database, what kind of data? How do you want to display it?

    Do you know some PHP already? If not, it's a good idea to buy a book and start reading up a little. Learning PHP takes time and patience

  3. #3
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,748
    Mentioned
    73 Post(s)
    Tagged
    0 Thread(s)
    Changing HTML to PHP:

    Step 1: Change all extensions of files from .htm or .html to .php
    Step 2: Add PHP code where desired.

    PHP does not alter HTML output outside of it's tags, so it's not really a 'conversion' process so much as it is 'adding to'.
    Never grow up. The instant you do, you lose all ability to imagine great things, for fear of reality crashing in.


Tags for this Thread

Bookmarks

Posting Permissions

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