WordPress.org

Support

$wpdb->insert

  • When i use $wpdb->insert it will insert the first record but when i try to run it again to insert another record it is not adding it.

    $company_info = array(
    ‘company_name’ => $_POST[‘company_name’],
    ‘company_description’ => $_POST[‘company_description’]
    );
    $wpdb->insert(
    $wpdb->prefix.’dd_companies’,
    $company_info
    );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘$wpdb->insert’ is closed to new replies.
Skip to toolbar