Jump to content

having a problem with a statement


Seitan

Recommended Posts

Im trying to display all the links that aren't approved. This is what I have

[code]"SELECT u.url_id, url, title, description FROM urls AS u, url_associations AS ua WHERE
u.url_id = ua.url_id AND ua.approved = 'N' ORDER BY date_submitted DESC";[/code]

Unfortunately it displays [b]all[/b] the links. can someone help?
Link to comment
https://forums.phpfreaks.com/topic/30170-having-a-problem-with-a-statement/
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.