0

can php be mixed with javascript? phpJa?

We was passing some ideas around and was thinking about mixing php with JavaScript. Is that possible and if so what we use it for? Any suggestions?

4th Nov 2016, 12:45 AM
Erick Hayes
Erick Hayes - avatar
2 odpowiedzi
+ 1
Actually you cannot mix JavaScript and PHP directly. You need Ajax, to do this thing. Ajax is not a new language but it comes with jQuery. jQuery is a framework of JavaScript. It used to send data from client to server.
4th Nov 2016, 2:09 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
0
Php works in the server side and javascript mainly in client side, on browsers.
4th Nov 2016, 3:08 AM
Omar Cadima