Home › Forums › Quform WordPress › Custom database…..
- This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago by Ally.
- AuthorPosts
- November 7, 2019 at 2:49 am #30171minicuParticipant
Hi.
I created a table called custom1 in the database.
However, no value is entered in the table.
I want to store the value in a table created separately in the database.
What should I do?
Unique ID for each field property below.
quform id = “2”
unique id (text) = 2_5, 2_6, 2_26
unique id (radio button) = 2_16
unique id (date) = 2_34
unique id (textarea) = 2_29I entered the following in fuction.php
<? php
add_action (‘custom1’, function (Quform_Form $ value) {
$ value = $ form-> getValues (array (
‘2_5’ => ‘business_name’,
‘2_6’ => ‘name’,
‘2_16’ => ‘maker’,
‘2_26’ => ‘serial’,
‘2_34’ => ‘date’,
‘2_29’ => ‘message’
));
});
?>But it’s not stored in my custom1 table.
Help me
Attachments:
You must be logged in to view attached files.November 7, 2019 at 10:01 am #30176AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 7, 2019 at 2:14 pm #30192minicuParticipantPlease check again.
November 8, 2019 at 11:45 am #30193minicuParticipantI registered a new license.
Please check the license and answer
thank youNovember 12, 2019 at 9:37 am #30211AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.