This system and to do banking operations the user will have to make the deposit only he type a value that he wanted to deposit and in the bank he will have to add to the current balance only that is not working. he is putting a number 7 and is not doing the sum
<?php
$idConta=$_POST['idConta'];
$valor=$_POST['valor'];
$consu= mysql_query("select saldo from conta where idConta=$idConta");
$saldoatual = $consu + $valor;
$up = mysql_query("UPDATE conta SET saldo='$saldoatual' WHERE idConta=$idConta");
?>