Ok, i think this is the best place for this question. I have the following problem that no matter what i do the number doesn't add to the sql variable. $i=interest rate, which is a row in sql database, i need to add 1 to it. The result is 1. Which should have been for example 1.01 if $i=1. Here is the code:
$result1 = mysql_query("SELECT interest_rate FROM list1") or die(mysql_error());
$row1 = mysql_fetch_array($result1);
$i = $row1['interest_rate'];
echo $i . "<br/>";
echo $i+1 . "<br/>";
On echo $i i get the row values. On $i+1 i get only 1 in a column repeated vertically. WHY?? PLSSSSS help!!!!