Author Topic: cant connect  (Read 275 times)

0 Members and 1 Guest are viewing this topic.

Offline jwk811Topic starter

  • Devotee
  • Posts: 714
    • View Profile
cant connect
« on: March 18, 2010, 01:01:06 PM »
all of a sudden. it was just working yesterday and i havent changed ANYTHING and today it wont connect. so its not the code but i can log on to phpmyadmin so i have no idea. just wondering if anyone knows what the possibilities of this problem could be

Offline PFMaBiSmAd

  • Guru
  • 'Insane!'
  • *
  • Posts: 14,588
  • In Coding, Automatic means you write code to do it
    • View Profile
Re: cant connect
« Reply #1 on: March 18, 2010, 01:32:39 PM »
There's probably a dozen different possible reasons.

If you echo mysql_error() it will tell you why the connection failed. No guessing is needed.
Signature: (not a comment about anything you posted unless specifically indicated)
Debugging step #1: To get past the garbage-out equals garbage-in stage in your code, you must check that the inputs to your code are what you expect.

Programming is just problem solving, but it is done in another language. You must learn enough of the programming language you are using to be able to read and write code.