PHP - check $_POST against 4 separate fields in MySQL database table
What I have is a user input field that I want to check against 4 separate fields in the database. I know the code for errors on the one field by making it unique, but I need to check all 4 fields and not allow it be sent the database if the value in the user field matches any of the 4 fields in the database. I hope that makes sense...can anyone help me with this? FYI - they are picture fields so I don't want someone to have matching names of pictures.
