below is what i have so far - now says unable to select database
all i want to do here is view my database from the website
have been at this all day - lots of good info and help from everyone - but just becoming more confused
<?php
mysql_connect(localhost,$username,$password);
@mysql_select_db($name of the database) or die( "Unable to select database");
mysql_query ("SELECT computersniagaraID, computersniagaraDate, computersniagaraCost, omputersniagaraText FROM computersniagara")
or die ("Invalid query");
mysql_close();
?>