$wpdb->insert() doesnt work anymore

examine below example and figure out what is wrong with your code.

 global $wpdb;
if(isset($_POST['submit']))
{
    $table_name = $wpdb->prefix.'employee';
    $wpdb->insert(
                    $table_name,
                    array(
                            'first_name'=>$fname,
                            'last_name'=>$lname),
                    array( '%s','%s' )
                 );

use global $wpdb;

global $wpdb;
$table_name = $wpdb->prefix.'rdp_banners';
$wpdb->insert(
            $table_name,
            array(
                'banner_id'     => $banner_id,  
                'rdp_banner'    => $rdp_banner,     
                'banner_type'   => $banner_type,            
                'customer_id'   => $customer_id,            
                'status'        => $status,             
                'company_name'  => $company_name,
                'picture'       => $picture,
                'register_date' => $register_date,
                'start_date'    => $start_date,
                'end_date'      => $end_date,   
                'price'         => $price,
                'banner_link'   => $banner_link),
      array( '%d', '%d', '%d',  '%d',   '%d',   '%s',   '%s', '%s', '%s',   '%s',   '%s',   '%s')
     );