Why isn't this working? I'm linking to ?m=a and its going to the blank one every time
Code:
<?php
if ($m == "b") {$link = "http://siteb.com";}
if ($m == "c") {$link = "http://siteb.com";}
if ($m == "a") {$link = "http://siteb.com";}
if ($m == "") {$link = "http://siteb.com";}
header("Location: $link");
exit();
?>