Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   phpform generator question ? (https://www.warriorforum.com/programming/128655-phpform-generator-question.html)

mr dollar 27th September 2009 01:20 PM

phpform generator question ?
 
Hello everyone,

I created a contact us form using phpform generator
from my hosting company i.e (cpanel)

my question is how can I generate the HTML code for
the form to place on my site ?

Thanks in advance for your quick response.

tguillea 27th September 2009 02:40 PM

Re: phpform generator question ?
 
contact forms are easy enough, don't even bother with their software.

HTML Code:

<html>
<body>
<form method="post" action="submit.php">
<input type="text" name="name" /><br />
<input type="text" name="email" /><br />
<textarea cols="11" rows="5" name="comments">Comments</textarea>
<input type="submit" value="Contact Us!" />
</form>
</body>
</html>

But if you must, take that and replace the NAME attribute with the name of your fields (identifiable by the $variable = $_POST['NAME'] where NAME is the name of the input text).

hopefully that makes sense :)


All times are GMT -6. The time now is 12:01 AM.