note 78194 added to function.mysql-list-tables
| From: | dcez at land dot ru | Date: | Tue, 02 Oct 2007 17:25:56 +0000 |
| Subject: | note 78194 added to function.mysql-list-tables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130990@lists.php.net to get a copy of this message | ||
<?php
/* Noob example, listing tables in the specified database */
include('connect.php'); //including connection script
$dbs = mysql_list_tables($dbname); //$dbname is the database name wich is declared in connect.php
for($i=0;$i<mysql_num_rows($dbs);$i++){
echo mysql_db_name($dbs, $i)."<br />\r\n";
}
?>
----
Server IP: 69.147.83.197
Probable Submitter: 77.38.140.14
----
Manual Page -- http://www.php.net/manual/en/function.mysql-list-tables.php
Edit -- https://master.php.net/note/edit/78194
Del: integrated -- https://master.php.net/note/delete/78194/integrated
Del: useless -- https://master.php.net/note/delete/78194/useless
Del: bad code -- https://master.php.net/note/delete/78194/bad+code
Del: spam -- https://master.php.net/note/delete/78194/spam
Del: non-english -- https://master.php.net/note/delete/78194/non-english
Del: in docs -- https://master.php.net/note/delete/78194/in+docs
Del: other reasons-- https://master.php.net/note/delete/78194
Reject -- https://master.php.net/note/reject/78194
Search -- https://master.php.net/manage/user-notes.php