Hi, I am trying to connect to my sql database using php, but i keep getting the following errors
Warning: mysql_connect(): Access denied for user 'beernice'@'localhost' (using password: YES) in /home/beernice/public_html/connection.php on line 5
Warning: mysql_select_db() expects parameter...
Hello again, i have created two databases called "products" and "simple_login" in phpmyadmin, which i now realise should not have been created there. Can i delete these as i wish to recreate them using the mysql database wizard?
Thanks for the post and the link. I created the database in phpmyadmin which I now realise i can't do!:frown:. I will try the wizard.
Thanks again:smile:
Hi, i am trying to connect to the data base "simple login" on the php admin section of my control panel. The php code is below
<?php
mysql_connect("localhost", "beernice", "password") or die(mysql_error()) ;
mysql_select_db("_simple_login") or die(mysql_error()) ;
$name=$_POST['name']...