ForsakenBlade Posted August 17, 2007 Share Posted August 17, 2007 http://pastebin.com/m5b366980 $uid = $_GET['uid']; What im trying to do is make it so if $uid is equal to either UserID or FriendID. The Status = 1 also has to be 1 (for confirmed) for it to echo, it seems to be working fine when i test with $uid = 1; other then, if its the same sequence such as row 7 and 8 (on pastebin link) with userid 6 friendid 1 status 1 it shows it twice, but if theres a situation where theres 6 1 1 and 1 6 1, it does it just shows one how it should. So why is it that if there is a double entry it causes this problem? Link to comment https://forums.phpfreaks.com/topic/65529-multi-sql-statment-trouble/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.