On 08/04/2013 10:02 AM, Damian Zaremba wrote: > `user_registration` != NULL; Your SQL is probably not what you intend. NULL is never equal to anything, including another NULL. If you write: 'WHERE user_registration IS NOT NULL' you get the result (I presume) you expect. -- Marc