Call a PHP function after onClick HTML event

前端 未结 4 1459
迷失自我
迷失自我 2021-02-08 15:16

Purpose: Call a PHP function to read data from a file and rewrite it. I used PHP only for this purpose - FileIO - and I\'m new to PHP.

Solution

4条回答
  •  星月不相逢
    2021-02-08 16:03

     cell1.innerHTML="";
     cell2.innerHTML="";
     cell3.innerHTML="";
     cell4.innerHTML="";
    

    it is working like a charm, the javascript is inside a php while loop

提交回复
热议问题