CPSC415A
Web Programming

Assignment 18

PHP JSON

Create a web page that uses JavaScript to interactively access the PHP script from the previous assignment. The web page should have a text box and a button. When the user clicks the button, a JavaScript program should send the name in the text box to the php script via URL arguments. The php script should look up the name in the XML file and send the associated number back. Finally, the JavaScript program should update the web page to display the number it recieves from the PHP script.

Submission

Submit your code on the course Inquire site.