php and mysql listing databases and looping through results
- by Jacksta
Beginner help needed :)
I am doign an example form a php book which lists tables in databases.
I am getting an error on line 36: $db_list .= "$table_list";
<?php
//connect to database
$connection = mysql_connect("localhost", "admin_cantsayno", "cantsayno")
or die(mysql_error());
//list databases
$dbs = @mysql_list_dbs($connection) or…