I am trying to get this script to echo the word Approved for the scores between 595 and 900. Any other scores would be turned down. All I get is approved for every score.
<html>
<body>
<?php
$table = $_POST['table'];
echo "<html> <body>";
if ($table <595-800) echo "Aproved";
else echo "Decline!";
echo "<html> <body>";
?>
Below is the html form I am using. Can anyone help
html>
<body>
<div align="center"><form method=post action=table_results.php>
<br><br><br><br><br>
Enter your Credit Score <input type=text name=table size=2>
<input type=submit>
</form></div>
</body></html>
</body>
</html>