Skip to content
Advertisement

How to ignore all fields which are empty in pic column?

All with empty fields in pic column should be ignored. (Even Name/Address shouldn’t be visible)

JavaScript

Advertisement

Answer

If the pic column contains null then add WHERE pic IS NULL to your select. If it is simply empty then use WHERE pic = ''.

JavaScript

or

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement