hiding blank MySQL results?
| From: | Nathon Jones | Date: | Sat, 05 Jan 2002 00:50:38 +0000 |
| Subject: | hiding blank MySQL results? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15433@lists.php.net to get a copy of this message | ||
Hi.
I have a PHP page calling a set of results from a MySQL database. They
appear in the following format on the results page:
Title
Description
Link
Problem I'm having. When a db record has an empty field (for example, no
description), the results page leaves a gap where the description should be.
How do I do a "hide if empty" thang to stop the gaps appearing?
Really appreciate the help.
Regards
nathon
nathonjones@kirkmoor.com