I set up a MySQL database on my Slackware 8.1 box which stores user information such as username, password and email. I have a page where you enter your username and password and it authenticates it on the MySQL database and if authentic, it sends you to the main page.
The problem is that whenever I have the code to access the database the page wont load at all. No html or PHP. If I remove the script at the top that accesses the database it loads fine but doesn't do nothing.
I think it might be a problem with permissions. Do I have to set up anything special to allow a PHP script to access the database?