\1'; $p[] = '"( |^)(www.[-a-zA-Z0-9@:%_+.~#?&//=]+)"i'; $r[] = '\1» \\2'; $p[] = '"([_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3})"i'; $r[] = '\\1'; $text = preg_replace($p, $r, $text); return $text; } if(isset($_GET['film'])) { $inc = "video"; } elseif(isset($_GET['birdbrain'])) { //$inc = "bb_".$_GET['birdbrain']; $inc = "birdbrain"; } elseif(isset($_GET['div'])) { $inc = "div_".$_GET['div']; } elseif(isset($_GET['team'])) { $inc = "team"; } else { $inc = "birdbrain"; } require("mysql.php"); ?>