<?PHP
if($_GET['position_id']!=''&&$_GET['function']=='edit'){
$_re = mysql_query("SELECT * FROM position WHERE position_id = ".$_GET['position_id']." ") or die(mysql_error());
$_data = mysql_fetch_array($_re);
}
else
if($_GET['position_id']!=''&&$_GET['function']=='delete'){
mysql_query("DELETE FROM position WHERE position_id = ".$_GET['position_id']." ");
}
?>