Get content from table into a list, without repeating.


Posted on 16th Feb 2014 07:03 pm by admin

Alright this is kinda an odd thing, so I need some help.

I have a table "quote" with the three columns `id`, `quote`, and `author`.

Now I am wondering if there is anyway that I can output all the different values in the column `author`, and if a repeat is found, not to display it again.

I know I can do this in a for loop, but I know there is a better way to do it. Always is.

Any help or suggestions are always greatly appreciated.

Thanks in advanced

333 Like 33 Dislike
Previous php-forum Next php-forum
Other php-forum

php require help needed
Ok i tried to use the search funtion but the word require is everywhere.

i'm really new to cr

XML Grouping
I'm using xml_parse_into_struct to get all my elements, but now I need to group them. For example, h

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

Links not updating
I'm trying to fuel a simple navigation system for a news section. It works fine when it comes to ret

PHP webpage & array print issue
I have this code running, and it works perfectly … however, see my bottom bit about what I see

Firefox displaying PHP source code??
Currently testing a site thats almost built, am going to be including php on a sidebar on all pages

SELECT * FROM users WHERE Users are not in Blocked
How do I select all users from users table where there users_id is not stored in the block table

How do i do multi uploads?.
Hey i would like to do this : http://hosting.mrkrabz.net/

I've got the base down you can uplo

News script
Hi ...

I am not sure if this is the rite place to post this but if its not sorry

i am

ldap connection
We are using ldap to get user information from the domain controller. It was working before. Recentl

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash