Image

Imageakismarain wrote in Imagephp

Array for checkboxes?

Hi everyone,

Thanks for the tip on that last question. I'm posting here because the MySQL community is rather unvisited:

I have a query that MySQL claims runs just fine, but returns no array as a result, even though I'm absolutely positive it should.

SELECT * FROM `lookups` WHERE `desc` = 'Central America' AND `desc` = 'China' AND `desc` = 'Civil Rights' AND `desc` = 'Costa Rica' AND `desc` = 'Debates/ Presidential' ORDER BY `id` ASC;

Why the /hell/ wouldn't that return an array? This happens to me often so I'm wondering if there's something I'm missing.

Thanks!