You can also refer this way of inserting
<?php// if using a custom function, you need thisglobal $wpdb$lastn = 'Last Name';$firstn = 'First Name';$wpdb->insert( 'clients', array( 'last_name' => $lastn, 'first_name' => $firstn ), array( '%s', '%d' ) )?>