Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] PHP MySQL Query

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28617
    thisishard
    Member

    Hi, I need a query that searches my database in a single row called ‘type’ and then extracts all of the types of type.
    I can get it to extract all of the values but values in ‘type’ is used for mote than one row so where i end up echoing out

    Code:
    typeOne
    typeOne
    typeTwo
    typeThree
    typeOne
    typeTwo
    typeOne
    typeOne
    typeTwo
    typeTwo
    typeThree

    I want to only echo out

    Code:
    typeOne
    typeTwo
    typeThree

    Hope this makes sense and thanks in advance.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.