Summary
The next step of PHP self-teaching after PHP Basics. Learned to use Ajax by using PHP to receive information of an XML file, catalog.xml, and to instruct the display of data onto the original file.
Also added a cookie component so the visitors would not lose their place. Note: the cookie in this experiment expires very quickly so that the experiment can start over without manual deletion of the cookies from the browser.
Date Created
17 Sept–5 Oct 2008.
Help
- w3schools.com
- php.net — Dictionary of PHP. Sometimes hard to find things but what you're looking for is probably there.
- PHP array length size count — Learned the
countmethod to check the number of items in an array. A JavaScript version of.length. - Passing Data from Javascript to PHP [Archive] - WebDeveloper.com — Learned to transfer values from JS to PHP without sending and requesting, just in case I needed it in the future.
- [Javascript] JavaScript to PHP variable transfer — While this thread shows how a JS value can be transfered to PHP, I figured out that I could get a PHP value and transfer it to JS.
- How to get Id of Div - JavaScript/SHTML/AJAX — Learned a new/overlooked property in JS Objects:
.id.