Prova con :
Codice PHP:
select from tabella where campo != '' 
opppure anche :
Codice PHP:
select from tabella where campo != NULL 
Dovrebbe essere cosi'.