Store form info into a database

Issues related to forms.
Post Reply
sbinns@ifguk.com
 
 
Posts: 12
Joined: Thu Nov 02, 2023 12:16 pm

Store form info into a database

Post by sbinns@ifguk.com »

I have a Prize Order form that on submission send an email to ourselves. How do I also store that information on a database?
User avatar
BaconFries
 
 
Posts: 5640
Joined: Thu Aug 16, 2007 7:32 pm

Re: Store form info into a database

Post by BaconFries »

Once you have your form you will need to then create your database and table in MYSQL or MYSQLI this will then need to be connected to your form. For all this to work your host/server needs to support php/apache and the extension of the page of the form must be set to .php Note you cannot view php locally as it it processed on your server you you are required to upload to see any results.
Please note it is outside of the scope of the forum to teach you this as it is understood if you wish to use the likes of databases you have a general knowledge of how to setup yourself.
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Store form info into a database

Post by Pablo »

The built-in form script also supports writing data to a MySQL database via the advanced properties.
Post Reply