...

View Full Version : Function mysql_list_tables() is deprecated



theriver
10-09-2009, 07:58 AM
While installing simple machine forum, the error message appered.
......
Deprecated: Function mysql_list_tables() is deprecated in C:\xampp\htdocs\phpbb3\smf\install.php on line 798
,,,,,,

the relevant script as follows, any help please. Thanks. the river.;)

// Let's optimize those new tables.
$tables = mysql_list_tables($db_name);
$table_names = array();
while ($table = mysql_fetch_row($tables))
$table_names[] = $table[0];
mysql_free_result($tables);

Fou-Lu
10-09-2009, 08:45 AM
http://php.ca/manual/en/function.mysql-list-tables.php
There is an example for the alternative methods.

theriver
10-10-2009, 05:40 AM
Thanks for your help. I have resolved the problem.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum