[Phpmyadmin-devel] Function

Robin Johnson robbat2 at fermi.orbis-terrarum.net
Wed Jul 24 07:56:06 CEST 2002


> > 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)
>
> all of these allready exist in mysql_wrappers.lib do you need to change
> them?

Thanks Mike.
Hmm, I hadn't noticed those before, and didn't see them when I looked.

Glancing quickly in the file, I see
PMA_mysql_list_tables (like my PMA_INFO_getTables($DBName))
PMA_mysql_list_fields (like my PMA_INFO_getColumns($DBName,$TableName))
I can extrapolate all of the other functions except PMA_INFO_getDB() from
this.

Got any ideas on the last function ?
It wouldn't surprise me if we actually had a variable with it already in
PMA.

-- 
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