Hi. What is the best check that the form has been submitted? Let’s have <input type="submit" name="submit" >
what I just did not meet:
1. The most popular option if (isset($_POST['submit'])
2. The same option if (isset($_POST['submit']) && !empty($_POST['submit']))
3.But I looked at the option the most: if ($_POST['photoList']=='submit')
; This option includes, by default, the first 2 checks. Why is it so massively not used?
C post seems to be less clear, but what about the GET form submission? After all, anyone can write in the address bar the desired parameter
$_POST['photoList']
does not exist? The error will give. - Smash