check table cell for data before using it
Anyway to check a table cell to know if it has a value BEFORE posting it?
e.g. A column has a list of images.
one or more cells might be empty.
when there is a block in the browser to display an image, and none is there, a place holder is indicated.
I do not want the place holder to show in this case.
I'm not sure why this is in the mysql forum since there's no relation to SQL here. Moving to PHP forum.
Perhaps its the empty construct you want, and not the isset construct. Make sure you use an else if you need to include a non-breaking space.
posted to mysql due to the fact I was asking about how to detect whether or not a particular data cell contained actual data.
PHP is the language that is used to construct a working model of what is in a database.
I will agree though that the post could be a php issue.
Just a matter of personal interpretation of the problem.
|All times are GMT +1. The time now is 03:22 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.