Book Image

PHP Ajax Cookbook

Book Image

PHP Ajax Cookbook

Overview of this book

Table of Contents (16 chapters)
PHP Ajax Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Basic Utilities

In this chapter, we will cover:

  • Validating a form using Ajax

  • Creating an autosuggest control

  • Making form wizards

  • Uploading a file using Ajax

  • Uploading multiple files using Ajax

  • Creating a five-star rating system

  • Building a PHP Ajax contact form with validation

  • Displaying a table in Ajax

  • Building Pagination using PHP and Ajax

In this chapter, we will learn how to build the basic Ajax forms. We will try to understand where we can use Ajax methodology and where we can't. There are a lot of ways in which we can use Ajax. Here are some "best" practices based on user experience and the performance of the specific system. Ajax makes our lives easier, faster, and better; how and where to use it is up to us.