joined:Mar 17, 2010
Hi all, I'm new to php so I encounter problems which some of you might not find as such. For example:
I have a db with a table with only 2 columns: id & category, so the data flows as: "1, 2, 3..." and "category1, category2, category3..."
And I want to get an array that looks like: $array1 = array(category1, category2, category3...) , basically containing all the values from the "category" column. How do I do that with PHP and MYSQL?