0

I have a php script which creates a certain file for me. I'd like to execute my script somewhere in my D3 or JS code. How can I do this?

Harry Johnston
  • 35,639
  • 6
  • 68
  • 158
Sina Sohi
  • 2,719
  • 9
  • 33
  • 50
  • possible duplicate of [jQuery Ajax POST example with PHP](http://stackoverflow.com/questions/5004233/jquery-ajax-post-example-with-php) – Cerbrus Apr 28 '14 at 11:02

1 Answers1

0

This is really easy done using AJAX (Form of JavaScript). You can use AJAX to call PHP script, execute it and then the result is returned.

Have a look here:- http://www.tutorialspoint.com/php/php_and_ajax.htm

Dave
  • 76
  • 1
  • 8