View Single Post
Old 03-20-2010, 01:29 AM  
moeloubani
Confirmed User
 
moeloubani's Avatar
 
Industry Role:
Join Date: Dec 2007
Location: Ontario
Posts: 4,235
PHP Jump Script not working

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();
?>
moeloubani is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote