} } ?> <!DOCTYPE HTML> <html> <head> <meta charset=utf-8> <title>Rekeningnummers</title> </head> <body> <h1> <?php $rek = new Zichtrekening("091-0122401-16"); print $rek->getOmschriving() . "<br />"; print "Het saldo is: " . $rek->getSaldo() . "<br />"; $rek->stort(200); print "Het saldo is: " . $rek->getSaldo() . "<br />"; $rek->voerIntrestDoor(); print "Het saldo is: " . $rek->getSaldo() . "<br />"; $rek = new Spaarrekening("091-0122401-16"); print $rek->getOmschriving() . "<br />"; print "Het saldo is: " . $rek->getSaldo() . "<br />"; $rek->stort(100); print "Het saldo is: " . $rek->getSaldo() . "<br />"; $rek->voerIntrestDoor(); print "Het saldo is: " . $rek->getSaldo() . "<br />"; ?> </h1> </body> </html>
<?php require_once './87Rekeningen.php'; ?> <!DOCTYPE HTML> <html> <head> <meta charset=utf-8> <title>Rekeningnummers</title> </head> <body> <h1> <?php $rek = new Spaarrekening("091-0122401-16"); echo "Het saldo is: " . $rek->getSaldo() . "<br />"; $rek->stort(200); echo "Het saldo is: " . $rek->getSaldo() . "<br />"; $rek->voerIntrestDoor(); echo "Het saldo is: " . $rek->getSaldo() . "<br />"; ?> </h1> </body> </html>