Forums

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

Home Forums Back End Tidying up Dropdown PHPMySQL code

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

    I’m populating a dropdown list with values from a mysql table. I want that row where the ‘default’ attribute is set to 1 to appear first on the list, with every other row listed alphabetically thereafter. Surely there is a more elegant solution than this? (Although this does work…)



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