Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2008
    Location
    malaysia
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Function mysql_list_tables() is deprecated

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

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    http://php.ca/manual/en/function.mysql-list-tables.php
    There is an example for the alternative methods.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

  • Users who have thanked Fou-Lu for this post:

    theriver (10-10-2009)

  • #3
    New to the CF scene
    Join Date
    Jan 2008
    Location
    malaysia
    Posts
    7
    Thanks
    3
    Thanked 0 Times in 0 Posts

    thanks

    Thanks for your help. I have resolved the problem.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •