$sorgu=mysql_query("delete from video,vote where video.id='".$vid."' and vote.vid='".$vid."'") or die(mysql_error());