i want to write a php script that prints out a html file, which shows all the databases on my local server. can anybody help me? please?
Depends heavily on the database that you are using:
For Mysql good example: http://uk.php.net/manual/en/function.mysql-list-dbs.php (Uk mirror)
For Oracle: Step 1: Connect to Oracle Engine Step 2: Prepare and issue the query: "select name from v$database" Step 3: Fetch results back into array Step 4: Loop through array, printing out results
Cheers