Moved: Reply To: Add data to custom database

Home Forums Quform WordPress Moved: Reply To: Add data to custom database

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25504
    arna-ud2
    Participant

    Hi Ally, can you help us ? what is the gap between Quform v1 and quform v2 for update cell, rows in a custom wp table ?

    your guide : https://support.themecatcher.net/quform-wordpress/guides/advanced/create-and-edit-custom-database-rows it is for V1…i need help for V2.

    i make this, but it is not working (after submit):

    add_action(‘quform_post_process_32’, function (array $result, Quform_Form $form)
    {
    $address_departA_update = $form->getValue(‘quform_32_7’);
    $wpdb->update(
    ‘list_resa’,
    array(
    ‘address_depart_aller’ => $address_departA_update, // string
    ‘quantity’ => ‘2’ // integer (number)
    ),
    array( ‘uresa_id’ => 1 )
    );
    return $result;
    }, 10, 2);

    Thank you !

    #25583
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy