Skip to content

Instantly share code, notes, and snippets.

@dasdo
Created April 27, 2018 00:46
Show Gist options
  • Save dasdo/31bd555a4afcd0ea60b6034c214e49d3 to your computer and use it in GitHub Desktop.
Save dasdo/31bd555a4afcd0ea60b6034c214e49d3 to your computer and use it in GitHub Desktop.
<?php
if(isset($_POST['submit'])){
if(!isset($_POST['nombre']) || empty($_POST['nombre'])){
echo "nombre es requerido";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment