Question: I have been searching the web left right and center for a solution to get the `wp_enqueue_style()` function to work but I just can't get it.

**Code Snippet**

```
//Add some styles to the script
function sreub_enqueue_styles() {

    //Use it!
    wp_enqueue_style ( 'sreubmainstyle', plugin_dir_url(__FILE__) . 'sreubmainstyle.css' );
}

add_action( 'wp_enqueue_scripts', 'sreub_enqueue_styles' );

```

I have echoed the path I am using in the `wp_enqueue_style` function and it is correct but have no idea why the styles are not being applied when I put them in the CSS file?

Answer: 
This might be a verbatim answer to your question:

```
UPDATE yourTable
SET gender = $gender,
    full_name = $full_name
WHERE gender IS NULL AND full_name IS NULL

```

However, it seems to make more sense to update a record if *either* the gender or full name be `NULL`. In this case, you can try:

```
UPDATE yourTable
SET gender    = COALESCE(gender, $gender),
    full_name = COALESCE(full_name, $full_name)
WHERE gender IS NULL OR full_name IS NULL

```
The `if` in `update` statement in `SQL` gets into the `WHERE` part of the query:

```
UPDATE table_name SET gender = $gender WHERE gender IS NULL AND full_name IS NULL

```

> 
> I would add also `AND id = $id_you_want_to_update`
> 
> 
>