(when selecting data from tables in MYSQL database) something like this:
WHERE some_column = some_value, other_column = other_value
If not, Is there other simple method r开发者_如何转开发ather than going into "if loops"
Yes, just separate them with AND
s:
WHERE some_column=some_value AND other_column=other_value
WHERE some_column = some_value AND other_column = other_value
精彩评论