Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Interest Array</title>
- </head>
- <body>
- <?php
- $InterestRate1 = .0725;
- $InterestRate2 = .0750;
- $InterestRate3 = .0775;
- $InterestRate4 = .0800;
- $InterestRate5 = .0825;
- $InterestRate6 = .0850;
- $InterestRate7 = .0875;
- $RatesArray = array($InterestRate1, $InterestRate2, $InterestRate3, $InterestRate4, $InterestRate5, $InterestRate6, $InterestRate7);
- echo "<p>The following interest rates are offered:</p>";
- echo "$RatesArray[0]<br />";
- echo "$RatesArray[1]<br />";
- echo "$RatesArray[2]<br />";
- echo "$RatesArray[3]<br />";
- echo "$RatesArray[4]<br />";
- echo "$RatesArray[5]<br />";
- echo "$RatesArray[6]<br />";
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment