Hi I have a value in variable i want to add this value first time when loop start not always. for example
<?php
$balance = 100;
while($row = mysql_fetch_array($query)
{
echo $row['amount'] + $balance; // for example $row['amount'] is 50, 20 , 30;
}
?>
i want result as follow
<?php
150
170
200
?>
150, 20, 30not as your regarded!