> is there a PHP function that wil return the names of the columns for a given > table? You need to use an SQL function called DESCRIBE http://www.mysql.com/doc/en/DESCRIBE.html HTH -- Mike Karthauser Managing Director - Brightstorm Ltd Email >> mikek@xxxxxxxxxxxxxxxxx Web >> http://www.brightstorm.co.uk Tel >> 0117 9426653 (office) 07939 252144 (mobile) Snailmail >> Unit 8, 14 King Square, Bristol BS2 8JJ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php