note 53555 deleted from function.mysql-list-dbs by bobby

From: Date: Mon, 13 Nov 2006 16:09:40 +0000
Subject: note 53555 deleted from function.mysql-list-dbs by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-119666@lists.php.net to get a copy of this message
Note Submitter: vladson at pc-labs dot info ---- I think it's better this way... <?php function sql_list_dbs($link) { $result = mysql_query('SHOW DATABASES;', $link); while( $data = mysql_fetch_row($result) ) { $array[] = $data[0]; } return $array; } ?>

« previous php.notes (#119666) next »