I've created a function, i want to use this but i want to be able to change $REGION to be either 1 or 4, I know this goes in after displaynews but what it i have 1 AND 4???
<?PHP
function DisplayNews() {
require('db.php');
$result = mysql_query ("SELECT * FROM NEWS WHERE REGION = $RESGION ORDER BY NewsID DESC LIMIT 35");
while ($row = mysql_fetch_array($result)){
echo "<a class=\"BlackNormal\" target=\"_blank\" href=\"viewnews.php?ID=" . $row['NewsID'] . "\">". $row['Title'] . "\</a> <span class=\"SmallFontGreyItalic\">(#" . $row['ViewCount'] . " views ) </span><br />";
}
}
?>