PDA

View Full Version : phpMySQL select statement


kontrol
08-05-2011, 03:00 PM
please is there a way to select rows from a database and exclude rows with certain values in a certain column example $query = "Select id from mytable Where recs IN ('idd') exclude rows with 2 in the recs column

edbr
08-06-2011, 02:03 AM
you could filter with an conditional statement after selection