"; echo "Current Variables are $id and $title! "; while($row = mysql_fetch_array($result)){ if($row != " "){ echo "No items found! "; echo $row.""; } else{ echo $row.""; } } echo "The while loop broke!"; ?>