[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Help Please - PHPformgenerator through Fantastico Cpanel

Posted on 2006-05-05
1
Medium Priority
?
185 Views
Last Modified: 2013-12-12
I installed PHPformgenerator on my site with Fantastico.  I need to collect first, last names, email addy and have a text area.  Then I need to store this info and then email the results as well to two people.

I really need help with code, as I'm not a coder at all........ the installation sure what easy, but I suppose I need more than just the 4 fields..  I know about hidden inputs, but I don't know how to use those in this setup.  Do I include these in the number of fields for the form?  I would really appreciate some sample code, as well as a quick walk through using this formgenerator.. and I hope it's not over my head to plug this into this form generator.  
0
Comment
Question by:linque
1 Comment
 
LVL 20

Accepted Solution

by:
Muhammad Wasif earned 1500 total points
ID: 16621151
I never used PHPformgenerator.

>>>Do I include these in the number of fields for the form?
You need to collect hidden filedss data as you do for normal text fields. For example

form.php

<form name="test" method="post" action="post.php">
<input type="hidden" name="hidden_field" value="hidden value" />
<input type="text" name="visible_field" />

</form>

post.php
<?
echo "value for hidden field".$_POST["hidden_field"]."<br>";
echo "value for visible field".$_POST["visible_field"]."<br>";
?>
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question