SQL Query Builder is a PHP 5 class that generates simple SQL queries (select, insert, update, and delete) that can be sent to an SQL server. It provides an intuitive class-based way to build queries instead of crafting complicated one-line or concatenated-string queries by hand. It is very useful for dynamic queries, and is appropriate for AJAX applications. It also features simple and optional error reporting.