From: Michael Widenius Date: April 10 1999 11:18am Subject: mysql_list_fields() example List-Archive: http://lists.mysql.com/mysql/1625 Message-Id: <14095.13132.406926.107372@monty.pp.sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> "Shalendra" == Shalendra Majmundar writes: Shalendra> Could someone please give me an example of using this? My connection is Shalendra> successful, but the calling as in Shalendra> $num=mysql_list_fields('dbname','tablename'); returns zero. Hi! Please look in the source for 'mysql.cc' how to use the above. Note, that 'mysql_list_fields' should not normall be used; You should instead use 'show columns from dbname.tablename' Regards, Monty