Migration V1 to V2 and SQL

Home Forums Quform WordPress Migration V1 to V2 and SQL

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Ally 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26086

    RobertKn
    Participant

    In V1 i get used to write SQL Statements inside PHP Code

    Example:

    $count = $wpdb->get_var(‘SELECT COUNT(*) FROM ‘ . iphorm_get_form_entries_table_name() . ‘ WHERE form_id = 29’);
    $Tages=$wpdb->get_var(‘SELECT COUNT(*) FROM ‘ . iphorm_get_form_entry_data_table_name() . ‘ WHERE entry_id IN (select id FROM ‘ . iphorm_get_form_entries_table_name() . ‘ WHERE form_id = 29 ) and element_id = 27 and value = “Nein” ‘) ;
    $DZ=$wpdb->get_var(‘SELECT COUNT(*) FROM ‘ . iphorm_get_form_entry_data_table_name() . ‘ WHERE entry_id IN (select id FROM ‘ . iphorm_get_form_entries_table_name() . ‘ WHERE form_id = 29 ) and (element_id = 27 and value = “Doppelzimmer”) ‘);

    These are working on V1 Tables !

    Itryed using qzform_get_form_entry_data_table_name instead but it don’t work

    Ho to use this functionality in V2

    #26095

    RobertKn
    Participant

    Correction:

    Itryed using qzform_get_form_entry_data_table_name instead but it don’t work -> little error

    I mean Quform:…….

    #26130

    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 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Be inspired. © 2018 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy