Documentos de Académico
Documentos de Profesional
Documentos de Cultura
<input type="text" name="v1" value="" size="20" /> <input type="text" name="v2" value="" size="20"/> <input type="submit" value="SUMAR" name="bsumar" /> <input type="submit" value="RESTAR" name="brestar" />
</form>
<?php
CLASE OPERACIONES class operaciones { //put your code here function sumar($x,$y) { $z=$x+$y; //echo $z return $z; }
include 'operaciones.php';
mysql_select_db($bdd, $conexion);
$var1=$_POST['v1']; $var2=$_POST['v2'];
$objeto=new operaciones();
echo $resta; }
?>
*/