Code: Select all
<form action="/FreewayApp/index.php" method="post">
<label>Start Number</label>
<input name="start" type="text" id="start" maxlength="10"></input>
<label>End Number</label>
<input name="stop" type="text" id="stop" maxlength="10"></input><br><br><br>
<label>Prime Integers</label><br>
<textarea name="output" id="outputA" rows="20" cols="50" maxlength="200" wrap="soft">
<?php
for($x = _GET['start']; $x < _GET['stop']; $x++)
{
echo $x.', ';
}
?>
</textarea><br>
<input type="submit" value="Find Primes" id="button"></input>
</form>
Thank you,
Matthew Hoggan