php to html help

Discussion in 'PHP' started by kojakfilth, Aug 27, 2006.

  1. #1
    kojakfilth, Aug 27, 2006 IP
  2. drewbe121212

    drewbe121212 Well-Known Member

    Messages:
    733
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    125
    #2
    That makes absolutely no sense what so ever. PHP outputs HTML ?!?!
     
    drewbe121212, Aug 27, 2006 IP
  3. kojakfilth

    kojakfilth Notable Member

    Messages:
    3,000
    Likes Received:
    213
    Best Answers:
    0
    Trophy Points:
    210
    #3
    coz i want to put that form in my homepage.. and i dont want it to be in .php
     
    kojakfilth, Aug 27, 2006 IP
  4. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #4
    easy... just open up that page in a browser, then go to view source (in ie, it'v view | source menuitem). that would open up a text editor with the code in html. save that and put it back up into your server in the same location as the php file. :)

    if you want to put that file in another location, then you will have to edit the paths to some of the objects in the file.
     
    daboss, Aug 27, 2006 IP
  5. kojakfilth

    kojakfilth Notable Member

    Messages:
    3,000
    Likes Received:
    213
    Best Answers:
    0
    Trophy Points:
    210
    #5
    do you think it will work if i just save it in .html?? ill try..
     
    kojakfilth, Aug 27, 2006 IP
  6. kojakfilth

    kojakfilth Notable Member

    Messages:
    3,000
    Likes Received:
    213
    Best Answers:
    0
    Trophy Points:
    210
    #6
    thanks it works i thought its not gonna work if i change it to html.. thanks daboss.
     
    kojakfilth, Aug 27, 2006 IP
  7. fscripting

    fscripting Banned

    Messages:
    288
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ya it will work as php outputs html only

    good u figured it out
     
    fscripting, Aug 28, 2006 IP
  8. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #8
    no problem - but as i mentioned in my post, you may need to change some of the paths if you want to put the new file in a location other than the php file that generated it... ;)
     
    daboss, Aug 28, 2006 IP