note 42950 added to function.mysql-db-name

From: 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

« previous php.notes (#70641) next »