Selecting more than asked for

From: Date: Fri, 13 Dec 2002 19:35:09 +0000
Subject: Selecting more than asked for
Groups: php.db 
Request: Send a blank email to php-db+get-24134@lists.php.net to get a copy of this message
I am using PHP and MySQL and in one section I am trying to SELECT for a table where unit_id = $variable. In that column I have several blank items. When I select a particular variable I get that plus all the blanks. I presume there is some way of getting just those which meet my criteria.

« previous php.db (#24134) next »