Quote:
Originally Posted by k0nr4d
Null and empty are not the same thing. Null is used to refer to nothing and empty is a string with zero length.
SELECT * FROM table WHERE column != '' ORDER BY RAND() LIMIT 1
|
Okay that works, thank you.
Any chance you could explain why for me though? What does that != do that a regular query doesnt?