Suma,Resta,Multiplicacion,division en Php

<?php //suma de 2 numeros en php $numero1=$_POST['numero1']; $numero2=$_POST['numero2']; //imprimo suma echo $numero1+$numero2; //si fuera resta echo $numero1-$numero2; //multiplicacion echo $numero1*$numero2; //division echo $numero1/$numero2; ?>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.