From 2bd1e8e7f5afab24b2948ca70cfdf0a62df9c661 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 2 Jul 2005 11:48:16 +0000 Subject: [PATCH] SHOW TABLES in example (bug #33547) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189750 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-list-tables.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/mysql/functions/mysql-list-tables.xml b/reference/mysql/functions/mysql-list-tables.xml index 0a0e55922d..3ad0d1a7e7 100644 --- a/reference/mysql/functions/mysql-list-tables.xml +++ b/reference/mysql/functions/mysql-list-tables.xml @@ -1,5 +1,5 @@ - + mysql_list_tables @@ -67,7 +67,7 @@ if (!mysql_connect('mysql_host', 'mysql_user', 'mysql_password')) { exit; } -$sql = "SELECT TABLES FROM $dbname"; +$sql = "SHOW TABLES FROM $dbname"; $result = mysql_query($sql); if (!$result) {