@ DRJ478,
Ok, I follow now. I didn't have enough error checks and not detailed enough. Tried those you wrote and recieved only one, there does seem to be a accress problem with the database, which would explain why it works on the PC.
Thanks for the help, just the nudge in the right direction I...
@ DRJ478,
ok, The DB name and password and user have been changed and I get no connection error. Here is my connection call:
$dbh=mysql_connect ("localhost", "replaced", "replaced") or die ('I cannot connect to the database.')...
Uuuugh, Ok, I am getting the same warning. However I am not any smarter off this thread, so what was the problem?
I created my code in school while learning PHP and just enough SQL for the database. All was well till my host switched servers lately and now on the host server I get this: not a...
swampBoogie :
Thanks, I found a PHP forum and only had to go a few pages back to find the answer. Just what I needed, just a shove in the right direction.
My Mistake, I saw it as a SQL problem and not a PHP problem. Thanks again.
LSW
Hey,
Here is my problem friends. I created a dynamic site with PHP last year in school. I learned just enough SQL in the course to finish the project. It worked fine.
Now my host has moved servers, and the code now seems broken. I use an Apache server and MySQL (FovServ) on my PC and the code...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.