Jump to content

Form to database


prcollin

Recommended Posts

you don't you connect to a database via php using something like $dbcon = mysql_connect(host,un,pw);

 

php processes the form (either using the $_GET or $_POST arrays - printr($_POST) to see what your form is POSTING) and generates a query string from that data.  That query string is then excuted via mysql_query($strin) function.

 

http://uk3.php.net/manual/en/function.mysql-query.php

Link to comment
https://forums.phpfreaks.com/topic/60191-form-to-database/#findComment-299459
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.