|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have generated two login files in Dream MX.
One works, the other does not. I get this error: Warning: mysql_select_db(): supplied resource is not a valid MySQL-Link resource in x:\folder\subfolder\xxlogin.php I have found a lot of pages with the same error, but very few solutions. I run II5 with the latest of everything; servicepack, php, perl etc. Has anyone had the same error an found a way to fix it ? |
|
#2
|
||||
|
||||
|
You're not making a valid connection to the database w/ mysql_connect; thats why you can't select a DB.
Try reading up on how PHP's MySQL functions work first, and recoding the page yourself; also, search devshed before posting this kind of message, it would have saved you time. php.net/mysql
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Warning: mysql_select_db(): supplied resource is not a valid MySQL-Link resource in |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|