I am trying to retrive all the values in the single query like this:
Expand|Select|Wrap|Line Numbers
- $sql_query_product = mysql_query("SELECT Product_Code FROM " . TABLE_PRODUCT_CODE . "");
- while($row_pr = mysql_fetch_array($sql_query_product))
- {
- $product_code = array($row_pr['Product_Code']);
- }
Can anyone help me how to get all the values in a single array with comma seperated values.
Thanks in advance,
Regards,