faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 4 people (50%) answered Yes
Recently 2 of 4 people (50%) answered Yes

Entry

I am querying a mySQL database for names and addresses, how do I not pull any NULL values

Mar 19th, 2008 22:25
ha mo, Chris Hayes, Melinda Cooper,


Depends on the actual value of the empty fields.
If that's an mepty string for example, what about ...WHERE name!=''
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.yamot.com
http://www.mozmar.com
http://www.templatestemp.com