Search
Syndication
Sponsors

Php - How To Store A Database Value From Html Feedback Form?

Ok so if i make a feedback form which displays name and email address I want that info to be transferred to a database via a php script. How do I do that?

Related posts:

  1. I Made Feedback Form In Php Which Takes Feedback From User And Send To My Hotmail Email Account? now i want to upload this feedback.php form into an...
  2. Can Somebody Explain Exactly How I Put The Php Form Handler In My Html Code? or is it seperate and linked to the html code...
  3. How To Code A Simple Php Dynamic Dropdown Form Feild From Mysql? I been struggling with this all morning. I am tiring...
  4. How Do I Make An Upload Form For Images With Php To A Mysql Database And Call The Image? i would like to make a php upload form and...
  5. Which Is The Best Form Processing Php Script & From Where Can I Download It For Free? I need php script for processing the data of the...

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , , , ,

One Response to “Php - How To Store A Database Value From Html Feedback Form?”

  1. oneequal Says:

    Assuming you have your database set up, just take the POST values and put them in with an INSERT query.
    $u=”mydblogin”;
    $p=”mydbpass”;
    mysql_connect(”mysql.whatever.com”,$u,…
    @mysql_select_db($database) or die( “Unable to select database”);
    $name = $_POST['name'];
    $email = $_POST['email'];
    $query=”INSERT INTO mytable (name, email) VALUES (’$name, $email)”;
    Something like that. Its changing some of this when i try to post but should be enough to google for the rest.

Leave a Reply

Translate
Links

Tags