Poll Tutorial

Easy Poll I grabbed an easy AJAX poll from w3schools.com/php/php_ajax_poll.asp and put it on the WLC Page. Tutorial Download the zip file: polldownload.zip. This folder contains the PHP file, the Javascript file, and a text file for the data. I prepopulated the text file. You may want to change that. Go to the HTML file where you want to place the poll and insert the following line of code in the header:...

Read More

Forms

Our first foray into web forms was the development of an email form. Scott made one that sent him an auto-notification. Brant made one that allowed users of his site to send registration information. I created one that allowed users to send an email to the restaurant from the web form. We learned that your host MUST support the correct version of PHP, and picked up some syntax tricks along the way. See the [cref email-form-tutorial]...

Read More

AJAX

AJAX is the art of trading data with a web server, and changing parts of a web page, without reloading the whole page. AJAX is not a new programming language, but a new technique for creating better, faster, and more interactive web applications. With AJAX, a JavaScript can communicate directly with the server, with the XMLHttpRequest object. With this object, a JavaScript can trade data with a web server, without reloading the page....

Read More

Pin It on Pinterest