Question: are you literally invoking just "mysql_connect()" or are you passing it the required parameters, for example
Code:
mysql_connect(localhost,$username,$password);
where localhost, $username, and $password are appropriate for your server and database. It may also be helpful to post the contents of the dbconn.php file (making sure to remove/disguise any actual login ID's, passwords, etc) My guess is that this error may just be due to a syntax error, although take that with a grain of salt -- I do not claim to be an expert by any stretch of the imagination.
Lastly, you may also want to ask this question in the Programming forum rather than the generic Software forum. If so, click on the Report This Post to a Moderator, and simply request that it be moved. -- J.W.