I have looked through the database here and although there are a lot om similar questions I couldn't figure this one out:
When I try to connect by this:
<?
//open connection
if(!(&dblink = mysql_connect("student.nlh.no", "esisa", "kdjuse4f6")))
{
print("Could not connect!");
exit();
}
//select 'menagerie' database
mysql_select_db("menagerie", &dblink);
?>
all I get is a "parse error" on the mysql_connect.
Why doesn't it connect?
Espen