Posted by Ewoud Dronkert on 10/06/06 11:19
On 21 Jun 2005 05:59:09 -0700, madsgormlarsen@gmail.com wrote:
> So therefore I need a function that will filter the data, so it
> does not contain columns with only NULL values. [...]
>
> $query = "SELECT * FROM Andersen WHERE column IS NULL";
Rather: $query = "SELECT * FROM Andersen WHERE column IS NOT NULL";
http://dev.mysql.com/doc/mysql/en/working-with-null.html
--
Firefox Web Browser - Rediscover the web - http://getffox.com/
Thunderbird E-mail and Newsgroups - http://gettbird.com/
Navigation:
[Reply to this message]
|