0

Is it possible to execute php script in javascript?

for example : when i done typing like username, it will automaticly check the data by php in javascript, it will return some alert.

2nd Jan 2018, 2:36 PM
Nabil Alaydrus
Nabil Alaydrus - avatar
2 Answers
+ 2
No it's N/A, JavaScript used as Client side programming language but Php is a server side... Each one of them works on a different environment, so something like that is not logical. JavaScript -in general- treats only with "DOM".
2nd Jan 2018, 3:41 PM
Mohamed Shublaq
Mohamed Shublaq - avatar
0
thanks bro 😁
2nd Jan 2018, 3:44 PM
Nabil Alaydrus
Nabil Alaydrus - avatar