Guys, why isn't this working? :) SELECT * FROM links WHERE name LIKE "%te%" OR description LIKE "%te%" OR url LIKE "%te%" AND approved="1" LIMIT 5 I am using a PHP script to add items to the database and a small search file to grab them. Thing is, I want the above to grab ONLY ones that have approved = 1. In the database they are all = 0. Is there a problem with my SQL query? Jeff
- Re: [PHP] PHP/mySQL query problem... Jeff Lewis
- Re: [PHP] PHP/mySQL query problem... ERISEN, Mehmet Kamil