This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<? | |
// try db connection | |
mysql_connect("localhost","root","") or die("Could not connect to mysql!"); | |
// select database | |
mysql_select_db("ubervu") or die("Could not select db!"); | |
// create SQL query | |
$result = mysql_query("SELECT * FROM albums"); |