I have a php form (code to follow) with a submit button that runs JSON-events.php as its action (method = POST). In the JSON-events co
JSON-events.php
action
method = POST
Using empty() will fail if value 0 is posted So it is better to use isset($_POST['FIELD_NAME'])
isset($_POST['FIELD_NAME'])