how to sum of two numbers which are in database in php code example Example: addition in php <?php $x=15; $y=30; $z=$x+$y; echo "Sum: ",$z; ?>