Does anyone sees any error in this?
I tried everything, google it and still getting the same results, even when i replace the $uid with the number of the id still the same.
I have two columns friend_one and friend_two and i want to show results where neither column has the $uidSELECT * FROM users U, friends F WHERE NOT (F.friend_two = '$uid' OR F.friend_one = '$uid') GROUP BY U.uid ORDER BY U.uid DESC
SimonIoa 77 Master Poster
diafol
SimonIoa 77 Master Poster
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
urtrivedi 276 Nearly a Posting Virtuoso
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
urtrivedi 276 Nearly a Posting Virtuoso
SimonIoa 77 Master Poster
urtrivedi 276 Nearly a Posting Virtuoso
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
urtrivedi 276 Nearly a Posting Virtuoso
SimonIoa 77 Master Poster
urtrivedi 276 Nearly a Posting Virtuoso
SimonIoa 77 Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.