I want a link on my site to redirect like such...
$offer = $_GET['url'];
if ($offer == '1'){
header("Location: http://site1.com");
}
if ($offer == '2'){
header("Location: http://site2.com");
}
This is functional, but is there a better way to do this rather than having 50 if statements?