Skip to content

Instantly share code, notes, and snippets.

@MrJSdev
Created April 19, 2018 05:26
Show Gist options
  • Save MrJSdev/1ad0d6c0af819522fe5a03b3fe2aad9a to your computer and use it in GitHub Desktop.
Save MrJSdev/1ad0d6c0af819522fe5a03b3fe2aad9a to your computer and use it in GitHub Desktop.
This is the code snippets to fix undefined index error: http://extracatchy.net/undefined-index-error-php/
<?php
if(isset($_POST['field-name'])){
/* Do something */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment