Question: You are using the following code to decide if a button is clicked, but it is never returning true. Which step is most likely to shed light on the problem?
- Make sure the input field displaying the button is named 'submit'
- Make sure you are not missing any semicolons
- Print everything in the session `print_r($_SESSION);`
- Look in the query string at the top of your browser to see if submit is assigned a value
Answer: The correct answer of the above question is Option A:Make sure the input field displaying the button is named 'submit'