How can I call PHP functions by JavaScript?

后端 未结 11 1188
情话喂你
情话喂你 2020-11-22 12:08

I am trying to call a PHP function from an external PHP file into a JavaScript script. My code is different and large, so I am writing a sample code here.

This is m

11条回答
  •  孤街浪徒
    2020-11-22 12:39

    Try looking at CASSIS. The idea is to mix PHP with JS so both can work on client and server side.

提交回复
热议问题