I'm using array to allow IP Address who can access, but got wrong result when query it with database.

```
while($dProfile = oci_fetch_array($qProfile))
{
    $allowedIP[] = array($dProfile['ALLOWED_IP_ADDRESS']);
}

if(in_array($_SERVER['REMOTE_ADDR'], $allowedIP))
{
    $ip = 1;
}
else
{
    $ip = 0;
}

echo $ip;

```

The result is always 0 even my IP Address(192.168.183.28) including in the list.

When I `print_r($allowedIP)` the result is:

```
Array ( [0] => Array ( [0] => 192.168.183.205, 192.168.183.28 ) [1] => Array ( [0] => 192.168.184.20, 192.168.184.15 ) )

```

It should be got result 1, because my IP Address is in the list of array.

Is there any trick how to do that?