O'Reilly logo
  • Jacob Williams thinks this is interesting:

 $num_tries = (isset($_POST['num_tries'])) ? $num_tries + 1 : 1;

Note

Fix: $num_tries = (isset($_POST["num_tries"])) ? $_POST["num_tries"] + 1 : 1;