Heyyyy!
I'm having trouble displaying databases or tables from a php script.
Here's my lame script which does not work. I could not find anything in the PHP book I'm working from that tells me how to do this, so maybe one of you kind folk can help me out??
<?php
session_start();
require_once('../secret_folder/mysql_connect.php');
$query="SHOW DATABASES";
$result=@($query);
if($result){
echo'Result';
while ($row=mysql_fetch_array($result, MYSQL_ASSOC)) {
echo $row;
}
}
?>