I am executing a query which is as follows.

```
global $wpdb;

$table_name = $wpdb->prefix . 'prousers';

$results = $wpdb->get_results("INSERT into $table_name 
                          (name,gender,mailid,empid,address,phone)
                           VALUES(
                           '".$InputName."','".$gender."','".$InputEmail."',
                           '".$emp_id."','".$address."','".$phn_num."'
                           )", OBJECT );

```

Everything is going well. I just wanted to validate it, so I did following:

```
if($results) { 
    echo'success';
} else {
    echo "error";
}

```

Values are correctly getting inserted into the table, but it is showing a fail message (it prints "error").

Why is this?