Hello.
Tell me how to make a selection of data from a table with several conditions. Now I have this:
SELECT NAME FROM b_iblock_element WHERE IBLOCK_ID=9 AND CREATED_BY=".$_REQUEST["userid"]
I need to add another condition in the request. Adding one more AND at the end did not help. How to write correctly if you need to check the record in 3, 4 or 5 fields?