これは 0 入力の処理コードです:
====================================== = ==========================
if($_POST['num0']){
$num=$_POST['num0' ] ;
if(is_dir('txt')){
$open=fopen("txt/caculator.txt","r+");
if(is_file("txt/caculator.txt")){
$a = file_get_contents("txt/caculator.txt");
$e=(int)$a; $b=$e."0"
file_put_contents("txt/caculator.txt",$b ); $open); ==============================
フォームは次のとおりです:
======== ===== ============================================ ===== ==