Newman Says: Only one value from a msSQL field.
| From: | Philip J. Newman | Date: | Wed, 19 Jun 2002 00:39:29 +0000 |
| Subject: | Newman Says: Only one value from a msSQL field. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-100264@lists.php.net to get a copy of this message | ||
Only one value from a msSQL field.
I have many values the same in a field and would like to know how i can select one of each (not
mating).
$sql = "SELECT * FROM brands WHERE 1 ORDER BY
sId DESC LIMIT 6";
lists everything ..
ANy help would be cool.
Phil