error when previewing dynamic pages
I entered add to cart buttons in music.php and gear.php and everything seemed to go great until I tried to preview with localhost.
I get following error msgs. I noticed that record set had a exclamation (!) mark in front of it.
Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\htdocs\wwwroot\eCart_4\dynamic\store_dynamic_sp_php\Connections\connBSM.php on line 9
Fatal error: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\htdocs\wwwroot\eCart_4\dynamic\store_dynamic_sp_php\Connections\connBSM.php on line 9
LINE 9 READS:
$connBSM = mysql_pconnect($hostname_connBSM, $username_connBSM, $password_connBSM) or trigger_error(mysql_error(),E_USER_ERROR);