<?
if($submit=="OK"){
if($id1==""){
$sql="INSERT INTO data_odds set Auto_ID='".$Auto_ID."',Rateodds='".$Rateodds."',Hdp='".$Hdp."',Hdp2='".$Hdp2."',Over='".$Over."',Under='".$Under."',Ft1='".$Ft1."',Ft2='".$Ft2."',Ft3='".$Ft3."',Tded1='".$Tded1."',Tded2='".$Tded2."'";
}else{
$sql="UPDATE data_odds set Rateodds='".$Rateodds."',Hdp='".$Hdp."',Hdp2='".$Hdp2."',Over='".$Over."',Under='".$Under."',Ft1='".$Ft1."',Ft2='".$Ft2."',Ft3='".$Ft3."',Tded1='".$Tded1."',Tded2='".$Tded2."' WHERE Auto_ID='".$id1."'" ;
}
mysql_query($sql);
}
if ($submit=="DEL"){
$sql="delete from data_odds where Auto_ID ='".$id1."'";
mysql_query($sql);
}
?>