multiple params in a mysql statement
Posted
by Kaartz
on Stack Overflow
See other posts from Stack Overflow
or by Kaartz
Published on 2010-03-24T18:07:12Z
Indexed on
2010/03/24
18:13 UTC
Read the original article
Hit count: 249
mysql
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?
© Stack Overflow or respective owner