Hi all,

I am querying the categories field in my database to rurn the various
categories that can be clicked on.

Problem is, if I have 5 items in a category, my categories query lists the
category 5 times..

I am trying to work out how to say:

while($qry = mysql_fetch_array($res)){
print $res["category"]; but only once for this results array.
}

Can you help with this?

Many thanks.

Sean.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to