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.