• GoDaddy Community
  • Websites + Marketing | Website Builders
  • Websites + Marketing | Website Builders

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Using html in PHP files

    Hello, 

    I am building a wedding website and trying to implement an online RSVP function. I have all of my database connection files set up and they return no errors, but when I try to run my RSVP.php file, the HTML navigation bar before the first opening php tag is the only thing that shows up. I've checked my code over and over and I cant figure out why my php will not show up. 

     

    I created a .htaccess file that has the following code:

    Options +ExecCGI
    AddHandler fcgid-script .html
    FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html
    AddType application/x-httpd-php5 .html .htm

     

     

     

    Any suggestions on what to do would be extremely helpful. Tia! 

    1 REPLY 1
    Retired
    Not applicable

    Hi,

    Not exactly sure what you mean there. What are you wanting to happen here exactly? Show up how and what exactly?

     

    hell, just realised I said exactly three times lol, just that half of the problems on this forum are trying to get across what someone means.