Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Reply to this topicStart new topic
> Error On Submit Page
ginginca
post Jan 4 2007, 09:16 PM
Post #11


Premium Member
Group Icon

Group: Members
Posts: 250
Joined: 6-July 06
From: The net (or at least that's what my family says)
Member No.: 14,330



I think what's happening is that it isn't getting my user name.

The error message is this:

Could not connect: Access denied for user: '@localhost' to database 'the name of my database'

Looks to me like I am telling it that my user name is @localhost ?

I have done this:

I added code above my select statement:

$database = mysql_pconnect(all the details here without using variables) or trigger_error(mysql_error(),E_USER_ERROR);

Now my script will go one line further than before.

It lists the categories but not the subcategories.

This post has been edited by ginginca: Jan 4 2007, 09:24 PM
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Php Problem Error Message(9)
  2. In Php, How To Not Display Mysql Connection Error?(4)
  3. E-mail List Error(4)
  4. Got A Wee Error - Can You Help?(13)
  5. Unexpected Error(2)
  6. Php Math Error(4)
  7. Warning: Mysql_num_rows()(1)
  8. Php Error-where To Put "?>"(2)
  9. Cant Find The Error(2)
  10. Php Configuration Error?(6)


 



- Lo-Fi Version Time is now: 5th December 2008 - 05:17 PM