brown2005 Posted March 2, 2007 Share Posted March 2, 2007 if i have field hello $sql = "SELECT * FROM WHERE hello=''"; and i want hello to be blank? Link to comment https://forums.phpfreaks.com/topic/40874-select-a-field-that-is-blank/ Share on other sites More sharing options...
simcoweb Posted March 2, 2007 Share Posted March 2, 2007 Not sure why you'd want to call a field that's blank ??? Link to comment https://forums.phpfreaks.com/topic/40874-select-a-field-that-is-blank/#findComment-197937 Share on other sites More sharing options...
redarrow Posted March 2, 2007 Share Posted March 2, 2007 $hello=""; $sql = "SELECT * FROM WHERE hello=''"; or $sql = "SELECT * FROM WHERE hello='NULL' "; Link to comment https://forums.phpfreaks.com/topic/40874-select-a-field-that-is-blank/#findComment-197938 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.