hello..
can php and java script exchange data??
Yes and you can include java in your php code.
no sir i mean javascript and php
Hi,
PHP run on server side, Javascript run on client side. They cant exchange data directly, but you can use AJAX to send data from client to server with javascript and php.
By the onther way PHP can write dynamic javascript code inside html page using <script> tag using some data from PHP.
There are alot infos about that on internet.
http://www.w3schools.com/php/php_ajax_intro.asp
http://www.coderslexicon.com/the-basics-of-passing-values-from-javascript-to-php-and-back/
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.