I am using Mobile detect and i want to remove my custom.css when a mobile or tablet is browsing the site.

Can enyone explain what i am doing wrong ?

```
<?php 

// Include and instantiate the class.
require_once 'php/mobile_detect.php';

$detect = new Mobile_Detect();
if ($detect-&gt;isMobile()) {$mobile = '1';}

if ($mobile == 1) {

    echo '<link href="'.$site.'css/mobile.css'" rel="stylesheet">';
}else {
    echo '<link href="'.$site.'css/desktop.css'" rel="stylesheet">';
    }

?>

```