title: Convert MySQL result to an array strings
body: <p>I am selecting names of my products from products table in MySQL then I want to present these names to something like<br /> <b><code>$names = array(name1, name2, ...)</code></b><br /> Where name1, ... are the names of the products from MySQL. I have gone through suggested similar cases but none seems to solve my problem. I am a newbie and just trying to learn.</p>