use GROUP BY in your sql query. see books on SQL for details.
kancha.
On Fri, 19 Jan 2001 09:11:47 +0530, sarahana wrote:
> Hello,
> I was wondering if it would be possible to select values from a column
(lets say the column "year") so that each value gets retrieved only once...
for example,
in
every line you must build a page taking care of this matter in the php
script .
HTH.
Jayme.
http://www.conex.com.br/jjeffman
-Mensagem Original-
De: sarahana <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: sexta-feira, 19 de janeiro de 2001 01:41
Assunto: [PH
create
an array of only unique values.
Hope this helps!
--Toby
- Original Message -
From: "sarahana" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 10:41 PM
Subject: [PHP-DB] selecting values from column without repeating
Hello,
I was wo
Hello,
I was wondering if it would be possible to select values from a column (lets say the
column "year") so that each value gets retrieved only once... for example, there are
multiple rows in a table - some with '2001' as the value for the year column, and some
with '2000'. Now, what I wanted