multiple params in a mysql statement
- by Kaartz
i use this statement for a single where condition
('SELECT * FROM users WHERE id = ?', 1)
if I want to check two conditions, how would I do that
('SELECT * FROM users WHERE id=? AND age=?', 1,23)- is this correct?