Form will not work in html, but fine in php?

Discussion in 'PHP' started by web.expert95, Feb 7, 2011.

  1. #1
    Problem solved thanks for the help.
     
    Last edited: Feb 7, 2011
    web.expert95, Feb 7, 2011 IP
  2. seoelk.com

    seoelk.com Peon

    Messages:
    19
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Well .html files aren't rendered by php(but you can enable this in config) so the php code just outputs to browser. You can see that by viewing page source - all php code is just text. I think you can just delete index.html(don't forget to backup) and index.php will be default.


    and about the look... I think there are some settings because css that ruins the form is generated by php. Its on 120 line
     
    Last edited: Feb 7, 2011
    seoelk.com, Feb 7, 2011 IP
  3. web.expert95

    web.expert95 Peon

    Messages:
    360
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi

    Thanks for that I have managed to get the site working now also the form is working properly now also and does not look so squashed

    Thanks
     
    web.expert95, Feb 7, 2011 IP