PHP - AJAX : Creating Server Code That Catch GET ParameterTag: AJAX, javacript, DOM, CSS, server side, javascript event, Parameter, GET Category:post: 17 Mar 2008 read: 114 PHP AJAX Step By Step Tutorial - part 5: Now, we write code for server. It is simple. In this application, we catch GET parameter. We use switch() for detect what user want with func parameter value. Create file named "calculation.php" within www/test/ajax. Enter following code:
Now, try http://localhost/test/ajax/calculator.html. Enter values and click button.
|
| | Give Your Opinion | Recommend |
|

