Recommended Posts

Posted

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:

Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...