$query = "SELECT field, url FROM table LIMIT 1";$result = mysql_query($query);$row = mysql_fetch_assoc($result);if($row['field'] == 0){}else{header("location:$row['url']");}
if($file_info['deleted'] == 0){ }else{ header('location:http://www.mirrorzian.com/deleted.php'); };
Warning: Cannot modify header information - headers already sent