mysql_query("DELETE from bts_picks WHERE uidt = $_POST[uid] AND p1 = $getData[$t]") or DIE(mysql_error()); PHP: i get this error Unknown column 'pick0809' in 'where clause'
What is stored inside the $getData[$t] variable? "pick0809" i assume? try this: mysql_query("DELETE from bts_picks WHERE uidt = '$_POST[uid]' AND p1 = '$getData[$t]'") or DIE(mysql_error()); I added single quotes around the variables
Actually , mysql_query("DELETE from bts_picks WHERE uidt = '$_POST[uid]' AND p1 = '$getData[$t]'") or DIE(mysql_error()); PHP: It may be correct...