php Programming Glossary: userid2
MYSQL select mutual friends http://stackoverflow.com/questions/8906154/mysql-select-mutual-friends My 'friends' table has the following columns id userID userID2 state userID and userID2 don't have a specific order of being.. the following columns id userID userID2 state userID and userID2 don't have a specific order of being put into the database... friends quer mysql_query SELECT CASE WHEN userID id THEN userID2 ELSE userID END AS friendID FROM friends WHERE userID id OR..
MySQL Structure for a social network http://stackoverflow.com/questions/9930940/mysql-structure-for-a-social-network programID CREATE TABLE relationships userID INT NOT NULL userID2 INT allowed to be null if the user is single or does not specify..
|