is_numeric($Num);
if(is_numeric($_POST["s1Text"])){ echo htmlspecialchars($_POST["s1Text"]); } else { echo "数字のみ"; }