on 11/3/02 2:26 AM, kelvin@xxxxxxxx purportedly said: > When I make a simple "SELECT * FROM table;" query, is there somewhere in > that query I can find the names of the columns? What exactly do you need to do? The column names are available to PHP. You can determine them dynamically by using pg_fetch_assoc() and applying array_keys() to the resulting aray. Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet"