note 42950 added to function.mysql-db-name
| From: | luse at rn2 dot php dot net | Date: | Fri, 04 Jun 2004 13:37:04 +0000 |
| Subject: | note 42950 added to function.mysql-db-name | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70641@lists.php.net to get a copy of this message | ||
ERROR IN THE PREVIOUS EXAMPLE:
<?php
error_reporting(E_ALL);
mysql_connect('localhost', 'luse87', 'cricetus');
------------
$lista_db = mysql_list_dbs();
------------
$i = 0;
$conteggio = mysql_num_rows($lista_db);
while ($i < $conteggio) {
echo mysql_db_name($lista_db, $i) . "\n";
$i++;
}
?>
----
Manual Page -- http://www.php.net/manual/en/function.mysql-db-name.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42950
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42950&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42950&report=yes
Search -- http://master.php.net/manage/user-notes.php