P-NUT_BTR Posted August 13, 2008 Report Posted August 13, 2008 Hi, I am trying to include a php contact form into my html contact page. the instructions that came with the script told me to use the include_once instruction like so: <?php include_once("gbcf-v3/form.php"); ?> but when I do this, making sure the path is correct, the page loads with no errors but the form does not display. I'm stuck now, tried googling but couldn't find any help there.:confused: Quote
Tony Posted August 13, 2008 Report Posted August 13, 2008 Is your contact page in plain html and is .html? If so then that is the issue since you cannot use php code within html files. You'd need a .php file in order to parse the include. Quote
P-NUT_BTR Posted August 13, 2008 Author Report Posted August 13, 2008 Many thanks Tony, Bit of a newbie to PHP, but that has worked now. Quote
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.
Note: Your post will require moderator approval before it will be visible.