[Phpmyadmin-devel] Function

Robin Johnson robbat2 at fermi.orbis-terrarum.net
Tue Jul 23 15:17:06 CEST 2002


In writing my SQL parser, I need some functions written that get some
information from MySQL, and I'm not sure of the best way to go about them.

Could somebody please help me with:
// returns current database name as string
PMA_INFO_getDB()
//returns array of table names in given database
PMA_INFO_getTables($DBName)
//returns array of tables names in current database
PMA_INFO_getTables()
//returns array of column names in given table
PMA_INFO_getColumns($TableName)
//returns array of column names in given table inside given database
PMA_INFO_getColumns($DBName,$TableName)

Thanks in advance

-- 
Robin Hugh Johnson
E-Mail     : robbat2 at orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639






More information about the Developers mailing list