I’m using the following code:
an example value for $insert_member_data is:
Array ( [f_name] => Joe [l_name] => Smith [title] => CEO [company_name] => Acme Inc. [company_description] => Something about us [join_date] => 2011-03-17 )
Is there a reason this isn’t working? If it makes a difference, manually typing the array into the line as below works fine, but with quite a few fields, it becomes cumbersome.
$wpdb->insert( 'wp_network_members', array( 'f_name' => 'Joe'));
- The topic ‘$wpdb->insert isn't working for me…’ is closed to new replies.