Listing 1. Building an SQL Query in PHP Based on POST Variables select($query); ?>