file_exist not working WHEN PLACED inside php function

前端 未结 6 1348
广开言路
广开言路 2021-01-27 15:37

I have searched for almost similar questions but none of those gave me the right answer. I have a fully working file_exist code in if else statement he

6条回答
  •  情书的邮戳
    2021-01-27 16:14

    You are trying to call a PHP function the same way as a JavaScript function. This just doesn't work.

    onclick="readexisting()"
    

    You can only call JavaScript functions like this.

提交回复
热议问题