rshadarack Posted September 28, 2006 Share Posted September 28, 2006 I have a set column in a table in mysql. I wish to get a list (preferably some sort of array, but I could parse a list of text as well) of possible entries for that set. What is the query to do so? Quote Link to comment Share on other sites More sharing options...
AndyB Posted September 28, 2006 Share Posted September 28, 2006 [code]$query = "SELECT column_name from table_name";$result = mysql_query($query);....[/code] Quote Link to comment Share on other sites More sharing options...
fenway Posted September 28, 2006 Share Posted September 28, 2006 To be honest, I've never used that column type, but I assume it comes back comma-separated? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.