Guest User

Untitled

a guest
Oct 14th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $result = mysqli_query($conn, "SELECT * FROM suples LEFT JOIN taken ON suples.id = taken.suple_id
  2. WHERE suples.user_id = $user_id AND date(taken.date_when) != '$day'
  3. AND suples.training_day = $training AND taken.suple_id IS NULL");
Advertisement
Add Comment
Please, Sign In to add comment