Home »

How can PHP and Javascript interact?

Question ListCategory: PHPHow can PHP and Javascript interact?
jully882 author asked 10 years ago
1 Answers
jeanderson295 author answered 8 years ago

PHP and Javascript cannot directly interacts since PHP is a server side language and Javascript is a client side language. However we can exchange variables since PHP is able to generate Javascript code to be executed by the browser and it is possible to pass specific variables back to PHP via the URL.

Please login or Register to Submit Answer