i need to make a page that have a button , when i press that button , a javascript function call a php function who run a mysql_query and print on page the results! How can i run php function from javascript .
-
2Use Ajax to achive this.– vaso123Dec 30, 2014 at 15:05
-
What did Google have to say?– Funk Forty NinerDec 30, 2014 at 15:05
-
1api.jquery.com/jquery.ajax– gbestardDec 30, 2014 at 15:05
-
stackoverflow.com/questions/13840429/…– John DvorakDec 30, 2014 at 15:07
-
Possible duplicate of Executing a php script in javascript?– Patrick EvansDec 30, 2014 at 15:10
Add a comment
|