Ok Im doing the tutorial "PHP from the ground up" on webmonkey.com Anyway I tried the loanshark script and its not working. You can try it at http://www.audiofreak.net/xbox/loan.html
It will show you what I'm having problems with Anyway it uses a form that posts the information for loanshark.php
Heres loanshark.php :
<html>
<head>
<title>Loans</title>
</head>
<body>
<?php
$interest_rate = .14;
function YouOweMe($cost, $interest_rate) {
$weekly_payment = ($cost*$interest_rate);
print "You better pay me \$$weekly_payment every week, or else!";
}
YouOweMe($cost, $interest_rate);
?>
</body>
</html>
Anyway can you help me out, Is it the tutorial or is it something I did?