note 25760 added to function.mysql-list-tables

From: Date: Fri, 04 Oct 2002 14:24:12 +0000
Subject: note 25760 added to function.mysql-list-tables
Groups: php.notes 
Request: Send a blank email to php-notes+get-37670@lists.php.net to get a copy of this message
You can also use mysql_fetch_object if you consider a specialty: The name of the object-var is Tables_in_xxxxx where xxxxx is the name of the database. i.e. use $result = mysql_list_tables($dbname); $varname="Tables_in_".$dbname; while ($row = mysql_fetch_object($result)) { echo $row->$varname; }; -- http://www.php.net/manual/en/function.mysql-list-tables.php http://master.php.net/manage/user-notes.php?action=edit+25760 http://master.php.net/manage/user-notes.php?action=delete+25760 http://master.php.net/manage/user-notes.php?action=reject+25760

« previous php.notes (#37670) next »