Variable to get all the results followed by commas. PHP/MySQL

I do a MySQL query and I get like 3 different results for $price, something like:
2.99
5.99
6.99

I would like to have a variable that contains a result like this:
2.99, 5.99, 6.99

I have tried and tried different approaches but nothing seems to work.
I tried something like:
$newPrice = $newPrice . ", " . $price;

Please help! Thanks in advance,

Leo :hair:

Here is the code:


$sqlSession = "SELECT * FROM SHOPPERTRACK WHERE sessionid = '$sessionid' AND customerid = '$customerid'";
$resultSession = mysql_query($sqlSession) or exit("<p class='alert'>Could not get session information.</p>");
while($rowProduct = mysql_fetch_array($resultSession))
{
$price = $rowProduct["price"];
echo "<p>" . $price;
}