I am a complete and utter dummy when it comes to any kind of server-based scripting, it’s so bad that I can’t even seem to connect to my server’s database. SQL/PHP tutorials say that I should use:
mysql_connect($database, $user,$password);
@mysql_select_db($database) or die( "Unable to select database");
How do I find out the database’s name? Is this something I should ask the administrator?
I know this is a really silly question, but I have spent considerable time searching for an answer online.
to make it short: yes – this is something your administrator can give you, as he chose the name when he created the database.