please while loop breaking after one row, is it the assignment operator
<p>Please help me, my while loop seems to break after the first loop as $totalprice is only echoed once. What could be the cause? </p>

<pre><code>$pplresult = mysql_query("SELECT * FROM repplac WHERE Uname = '{$_SESSION['username']}'") or die(mysql_error());
while ($row = mysql_fetch_assoc($pplresult)) 
   //echo $row['Pquantity'] * $row['Price'];
  $totalprice = $row['Price'] * $row['Pquantity'];
  echo "$totalprice";
</code></pre>
