Form Data to MySQL
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
-
-
- Posts: 291
- Joined: Mon Aug 20, 2018 6:47 pm
Form Data to MySQL
When the form data is sent to the mysql database - all the entries before it gets re-writen to the latest data that comes through. So no matter how many entires I have, they are all the same lol Any ideas?
- wwonderfull
-
- Posts: 1536
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Form Data to MySQL
To know what you have done we need a demo of your project. I never have issues with form data to mysql its normal.I am sure you have done something incorrect on the settings maybe that is the cause.
Last edited by wwonderfull on Tue Jul 19, 2022 7:00 am, edited 1 time in total.
Re: Form Data to MySQL
Maybe your database does not a have a primary key?
To be able to help you, I needs to know your complete setup.
To be able to help you, I needs to know your complete setup.
Re: Form Data to MySQL
Hello johnsmith0251,
please check if the "ID" field of table where you want to introduce data is defined as "autoincrement".
Regards, Adrian
please check if the "ID" field of table where you want to introduce data is defined as "autoincrement".
Regards, Adrian
-
-
- Posts: 291
- Joined: Mon Aug 20, 2018 6:47 pm
Re: Form Data to MySQL
pablo & adrian - thank you! I added ID autoincrement PrimaryKey and it works.
The only wishlist item is being able to see what page the form submitted from. In advanced options, I have the "include page name/referer in form data" but it does not come through in the data base.
Any thoughts?
The only wishlist item is being able to see what page the form submitted from. In advanced options, I have the "include page name/referer in form data" but it does not come through in the data base.
Any thoughts?
Re: Form Data to MySQL
Maybe it is blocked somewhere? For example, in the privacy settings of the browser.
The script uses standard PHP functionality:
$_SERVER['SERVER_NAME']
$_SERVER['PHP_SELF']
The script uses standard PHP functionality:
$_SERVER['SERVER_NAME']
$_SERVER['PHP_SELF']
-
-
- Posts: 291
- Joined: Mon Aug 20, 2018 6:47 pm
Re: Form Data to MySQL
I feel silly
I can simply push through the form name lol
![Shocked :shock:](./images/smilies/icon_eek.gif)
I can simply push through the form name lol