use php process a web form feedback….

use php process a web form feedback, and insert the information into your databases, and use php create a page to view the feedback.

here is the code.here is the html page collect the information;

<h2>Chinese Zodiac FeedBack</h2>
<form id=”form1″ method=”post” action=”process_zodiac_feedback.php”>
<p>
<label for=”fname”>Your Name:</label>
<input type=”text” name=”fname” id=”fname”>
</p>

<p>
<label for=”feedback”>Your FeedBack</label>
<textarea name=”feedback” id=”feedback” cols=”45″ rows=”5″></textarea>
</p>
<p><label>Are you agree to public your feecback?</label>
<input name=”agree” value=”Yes” type=”checkbox”></input></p>
<p>
<input type=”submit” name=”submit” id=”submit” value=”Submit”>

</p>
</form>

One thought on “use php process a web form feedback….”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s