| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#10 (permalink) |
|
All Ur Base R Belong 2 Us
Excelling Contributor
Joined in Feb 2005
Lives in Vegas & New York
830 posts
Gave thanks: 2
Thanked 7 times
|
Re: What's wronge with my database??!!!
I apologize that you weren't following what I was saying.
What I'm suggesting: Edit the php code, changing: mysql_select_db("$dbname") or die( "Unable to select database."); to: mysql_select_db("$dbname") or die( mysql_error() ); Then re-run the create.php script and tell us what displays on the screen
__________________
Nobody doing nothing |
|
|
|
|
|
#11 (permalink) |
|
The Mommy Slayer
Seasoned Poster
Joined in Mar 2005
Lives in Pinellas, FL
Hosted on Benz
83 posts
Gave thanks: 0
Thanked 0 times
|
Re: What's wronge with my database??!!!
Sorry if we upset you in anyway. That was not my intention at all. It's simply to try and explain what was being said and ultimately to help you fix the issue. The code posted by Fern will cause the database to give you a message telling you what is causing the problem when you go to the webpage. Once you get that error message for us it will be alot easier to help you solve the issue.
I hope we aren't just being more confusing.
__________________
"Your heart will always make itself known through your words." http://www.codedfuture.com A not-for-profit bringing the world to needy kids and families. See how you can help. |
|
|
|
|
|
#12 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Feb 2006
Lives in Saudi Arabia
15 posts
Gave thanks: 0
Thanked 0 times
|
Re: What's wronge with my database??!!!
its ok guyz
.. i'm not it just misundersanding .. so let me try now ..ok i did as Mr Fern told me the result: Unable to select database. http://www.mfan.the-torches.com/create.php even this one: http://the-torches.com/cf/install.php
__________________
.. My Blog .. |
|
|
|
|
|
#13 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Feb 2006
Lives in Saudi Arabia
15 posts
Gave thanks: 0
Thanked 0 times
|
Re: What's wronge with my database??!!!
did i do as u ask me Mr.Fern .. or what?? .. i hope i did ..
__________________
.. My Blog .. |
|
|
|
|
|
#14 (permalink) |
|
The Mommy Slayer
Seasoned Poster
Joined in Mar 2005
Lives in Pinellas, FL
Hosted on Benz
83 posts
Gave thanks: 0
Thanked 0 times
|
Re: What's wronge with my database??!!!
Seems like it was done as directed. Now looks like the issue is that whatever script you have to access the database is incorrect. If you can post the code for the connection to the database *****without posting security info(eg. password, usernames,etc)**** we can try and see why.
__________________
"Your heart will always make itself known through your words." http://www.codedfuture.com A not-for-profit bringing the world to needy kids and families. See how you can help. |
|
|
|
|
|
#15 (permalink) | |
|
?™
Resident.
|
Re: What's wronge with my database??!!!
Quote:
__________________
I'm a web designer that founded the company Asheboro Creative. You can follow me on Twitter, add me on Myspace, or read my articles on Asheboro Tech. |
|
|
|
|
|
|
#16 (permalink) | |
|
Senior Member
Surpass Staff
|
Re: What's wronge with my database??!!!
Quote:
![]() ![]() |
|
|
|
|
|
|
#17 (permalink) | |
|
?™
Resident.
|
Re: What's wronge with my database??!!!
Quote:
__________________
I'm a web designer that founded the company Asheboro Creative. You can follow me on Twitter, add me on Myspace, or read my articles on Asheboro Tech. |
|
|
|
|
|
|
#18 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Feb 2006
Lives in Saudi Arabia
15 posts
Gave thanks: 0
Thanked 0 times
|
Re: What's wronge with my database??!!!
i know its bad to put put security info .. but frustrated from my db ..
ok here is the code PHPFanbase and i would know .. the problem from me or from the hosting?!
__________________
.. My Blog .. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|