i create all the requirements and i try to view it this came out
--------------------------
PHP Error Message
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a3020935/public_html/main_forum.php on line 9
Free Web Hosting
cannot connect
--------------------------
how can i fix it do i have to edit the table? you can view may main_forum.php at http://www.prowebz.890m.com, i use the code provide by this website http://www.phpeasystep.com/phptu/12.html please help me. thnx
I dont know the Problem?
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: I dont know the Problem?
For mysql_connect() you need to supply are server name (usually localhost), a username and a password. The username 'nobody' in the error message indicates that you may not be providing a username.
(#10850)
- blackscorpion
- Forum Newbie
- Posts: 22
- Joined: Wed May 28, 2008 9:18 pm
After i fix the one problem, 2nd problem pops out?
i fix the password and ussername and name of database but this wat happned http://prowebz.890m.com/main_forum.php, it tells that "cannot select DB" what is DB? database? but i already create a database and i make a ussername and password, so i fix the other one.
if im right what should i put in may database name, a3020935_test or test?
im using 000webhost.com because it has a free mysql and phpadmin and other usefull staff.
if im right what should i put in may database name, a3020935_test or test?
im using 000webhost.com because it has a free mysql and phpadmin and other usefull staff.
- blackscorpion
- Forum Newbie
- Posts: 22
- Joined: Wed May 28, 2008 9:18 pm
Re: I dont know the Problem?
Thanks to all your help i finally finished my simple Message board, if you like to have a copy of my simple message board i would be glad to help you, thanks to all and more power to devnetwork.net
----------------------------------------------------------------------------------------------
This topic is closed jun 01 2008!
----------------------------------------------------------------------------------------------
This topic is closed jun 01 2008!