mysql NOT in stuff..

Out of context: Reply #3

  • Started
  • Last post
  • 4 Responses
  • Pupsipu0

    lol

    ok, I don't know php and databasing, but logically (what I'm thinking) you loop through your table A, and for every item in table A you loop through table B, if there is a match do something, if there isn't a match do nothing.

    I don't know if php has some magic built in function that would run that quickly for you.

    My solution seems sloppy, so maybe there are some databasing magic tricks you can use to organize your tables better and avoid that kind of loopage.

View thread