Ver originalif(!is_numeric($_POST["variable"])){echo 'La variable es de tipo string';}else{echo 'La variable no es de tipo string';}