Hey guys -
I appreciate your help. I literally copied the what the hosting service gave me and they verified that this was the code. I knew that the variable was wrong ($hostname_xxxx x.db...etc.). I really needed verification, which you have given me.
This code has worked perfectly on other sites, so I knew it had to be something on the host's end and they way they are naming the db's when uploaded. Again, this is verbatim...
User Profile
Collapse
-
I actually had to obscure the sections I did. The username and the first part of the hostname (the part with the x's) are the same. There is a number that I can replace in the hostname (in the # spots), but I don't see that as much of an issue. In addition, the password is, of course, the password.
What happens, and what makes me think it's a hosting issue is, when I paste the the hostname (which I copied/pasted from the hosting service)into...Leave a comment:
-
I don't understand why it's so obscure, but I'll look into it.
I definitely appreciate your help.Leave a comment:
-
OK. Thanks for the reply. But, just to make this work better, here's the entire code.
Code:<?php # FileName="Connection_php_mysql.htm" # Type="MYSQL" # HTTP="true" $hostname_conn_saveFairgrounds = "xxxxx.db.#####.hostedresource.com"; $database_conn_saveFairgrounds = "xxxxx"; $username_conn_saveFairgrounds = "xxxxx"; $password_conn_saveFairgrounds
Leave a comment:
-
Another One of Those T_DNUMBER Errors
First, I am stuck using GoDaddy because that's who my client went with. I'm almost thinking this is related to their address for the database hosting, but I would like confirmation on that.
Having uploaded the database and then the site, when accessing the linked pages I get the following error message:
Parse error: syntax error, unexpected T_DNUMBER in D:\Hosting\#### ##\html\Connect ions\saveFairgr ounds.php on line 9...
No activity results to display
Show More
Leave a comment: