Caf26 Posted June 11, 2013 Share Posted June 11, 2013 Hi i am pretty new to html and php coding, i am creating a website and have a contact form on one of my pages i have gathered the code and got the form working when hosted with 000webhost (free hosting) i have now purchased hosting from go daddy and uploaded my site there, my contact form now shows code in each field although its the same file as i uploaded to the free hosting site. can anybody suggest why it is doing this with go daddy, i have the deluxe hosting package. thanks! Quote Link to comment https://forums.phpfreaks.com/topic/279028-contact-form/ Share on other sites More sharing options...
boompa Posted June 11, 2013 Share Posted June 11, 2013 Maybe you could provide a screenshot of the page so we might better understand what you mean by "my contact form now shows code in each field". Quote Link to comment https://forums.phpfreaks.com/topic/279028-contact-form/#findComment-1435300 Share on other sites More sharing options...
cyberRobot Posted June 11, 2013 Share Posted June 11, 2013 It might also be helpful to see the code for the form. Quote Link to comment https://forums.phpfreaks.com/topic/279028-contact-form/#findComment-1435313 Share on other sites More sharing options...
davidannis Posted June 11, 2013 Share Posted June 11, 2013 Does the file name end in .php? If not perhaps godaddy is displaying it as html. Quote Link to comment https://forums.phpfreaks.com/topic/279028-contact-form/#findComment-1435314 Share on other sites More sharing options...
Q695 Posted June 11, 2013 Share Posted June 11, 2013 (edited) Essentially you do this: <?php print_r($_GET); $variable_name=$_GET['get_array_variable_name']; ?> Edited June 11, 2013 by Q695 Quote Link to comment https://forums.phpfreaks.com/topic/279028-contact-form/#findComment-1435317 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.