[Solved] Set a condition on an email being sent from an sql database [closed]
Tack on another conditional to the end of your query: SELECT first_name, last_name FROM sc_application WHERE candidate_id = $user_id AND submitted = 0 1 solved Set a condition on an email being sent from an sql database [closed]