A very simple PHP script
Page 1 displays a form
Page 2 reads variables from the form, and provides output
2 || $pageNum < 1) { echo("
Error...this page does not exist!