<?php //* If the Value is an INT then continue... if(!empty($_GET['news_id']) && intval($_GET['news_id'] == $_GET['news_id'])) { $SQL = SELECT *from test where news_id= .$_GET['news_id']; $result = mysql_query($SQL) OR die(mysql_error()); $row = mysql_fetch_array($result); echo $headline = $row['headline']; echo $story = $row['story']; } else { //* Otherwise appears to be something Dodgy here so