Jump to content

locked tables?


acidglitter

Recommended Posts

okay this is what i have now. nothing will show up when a.yours is there. but i'm not sure of how else to do it. because if it just said a.theirs IS NULL then every member would only get added once. i need it to select members that haven't been added by the member thats currently logged in.

 

SELECT friendid
FROM members AS m
LEFT JOIN added AS a ON (a.theirs = m.friendid)
WHERE a.yours='$friendid' AND a.theirs IS NULL

Link to comment
https://forums.phpfreaks.com/topic/108380-locked-tables/page/2/#findComment-588949
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.