mynmonic wrote:inside a php scripts I have this statement:
where the $totalamount was a integer value in it(not 1), but after this summing statement the $totalamount comes out with 21.
I changed the statement to :
and the $totalamount become 1.
Can anyone tell me why this statement will turn the initial value of the variable to 1 ?
Users browsing this forum: No registered users and 2 guests