Guys, tell me, please, how can php find out the names (name) of database tables?
$res = mysql_query('show tables');
Study the mysql manual.
$q = mysql_query("SHOW TABLES FROM `table`;");
Standard remedy:
select table_name from information_schema.tables where table_type = 'base table' and table_schema='имя базы'
Will work everywhere except Orakla. :-)
Source: https://ru.stackoverflow.com/questions/9583/More articles:Incorrect loading on ajaxWaiting for completion of the ActivityHow to programmatically get the path to the directory in which the product is installed?Text entry in textarea when selecting optionsZoom pageDirectX Z buffer problemGNU Emacs Tag TableCryptographic Hash FunctionsLinux does not startConstant object reference The correct term in English.All Articles