Help me!

Discussion in 'PHP' started by Radamel, Nov 22, 2008.

  1. #1
    Hi..
    I am a newbie in PHP and I need help to fix a problem.

    I wrote a php code which gets the English words and their meanings in Turkish.
    I am using Mysql database and printing the words on to the screen.
    The problem is I get the data randomly by using RAND()..
    I don't want to get the data randomly. I want to get it in a listed way,from the first character A to Z. Like this;
    Abdicate
    Arrogant.
    ...
    ...
    ...

    How can I fix that problem?
     
    Radamel, Nov 22, 2008 IP
  2. rene7705

    rene7705 Peon

    Messages:
    233
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    give us your table structures please, which fields are in which tables?
    also give us the sql query you're now using..

    then we'll be able to help.
     
    rene7705, Nov 22, 2008 IP
  3. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #3
    ORDER BY turkish_field ASC
     
    EricBruggema, Nov 22, 2008 IP