How to write data to a database


Attached are two files used as an example of how to write data to a MySQL database using HTML/PHP.


Place these two files inside the document root and call the results.html file. Fill out the form data and hit submit. It will call the insert.php file which will make a database call to the Results database and make the insert to the 'results" table. Simple, and avoids Drupals 30-120 database calls just to load its pages.