if($_GET["id"]== ""){
$sorgu=mysql_query("SELECT * FROM faaliyet_alanlari ORDER BY id DESC LIMIT 0,1");
}
else{
$id=$_GET["id"];
$sorgu=mysql_query("SELECT * FROM faaliyet_alanlari WHERE id='$id' ORDER BY id DESC LIMIT 0,1");
}
while($row=mysql_fetch_array($sorgu)){
?>
} ?>