Answer the question
In order to leave comments, you need to log in
There is a simple INSERT. How to make a check when writing two fields so that it does not write a duplicate?
supports_user table:
id | support_id | client_id
1 | 2 | 13
2 | 2 | 13
$query1 = "INSERT INTO supports_user (support_id, client_id) VALUES ('$support_id', '$client_id')";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question