Originally Posted by stevenryals
i was in a raw command prompt and tried the same command with REAL params.. such as 'WHERE tag = testing AND cpm > 3'
i'm missing the single quotation around the value of $tval..
i think that's the problem.. but how do i do that with a variable?
If you notice my first reply, that contained the correct format (although I didn't know tag was going to be a string).
$query = "DELETE FROM `table` WHERE `tag`='$verifiedInput1' AND `cpm`=$verifiedInput2";
Notice the ` around objects in the SQL (table names and column names) and ' around strings.