I reword my last post. I want to take the result and generate the field info to the screen e.g
Well, if you're using MySQL you could use either "DESC <table>;" or "SHOW CREATE ...". But you can't really generate the schema from a result set.
-- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php