file_exist not working WHEN PLACED inside php function

前端 未结 6 1258
广开言路
广开言路 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:04

    you can't call the PHP function From HTML tag like Javascript Function. you have to change your function to javascript function to invoke it like this

    onclick="readexisting()"
    

提交回复
热议问题