I want to create an text field then a submit button.
The text field is supposed to be the answer of a question.
If the user types the correct answer and clicks submit, he is taken to the next page. If he types the wrong answer the page refreshes to the current page.
Also if the user knows the url of the next page, while he is on the current page and type it in the url bar, it should be shown that you are not authorised to view this page.(Use of checks, i suppose)
Please help me with use of databases as well.
The text field is supposed to be the answer of a question.
If the user types the correct answer and clicks submit, he is taken to the next page. If he types the wrong answer the page refreshes to the current page.
Also if the user knows the url of the next page, while he is on the current page and type it in the url bar, it should be shown that you are not authorised to view this page.(Use of checks, i suppose)
Please help me with use of databases as well.
Comment