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
Here's the errant code:
(Of course the places where there are x's and #'s have the actual db hosting name, username and password. In addition, these match the relevent lines of code prior to Line 9.)
When I type the hostname into this line of code, I get a Syntax error on Line 1 (<?php ). When it's not there, the error goes away.
Again, I think this is a GoDaddy thing. But no one there will help with this.
Your help is greatly appreciated.
btw: I notice when I preview this message there is a space showing between the s and o in hostedresource. That space is not in the file.
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
Here's the errant code:
Code:
$conn_saveFairgrounds.php = mysql_pconnect($hostname_xxxxxx.db.#####.hostedresource.com, $username_xxxxx, $password_xxxxxx) or trigger_error(mysql_error(),E_USER_ERROR);
When I type the hostname into this line of code, I get a Syntax error on Line 1 (<?php ). When it's not there, the error goes away.
Again, I think this is a GoDaddy thing. But no one there will help with this.
Your help is greatly appreciated.
btw: I notice when I preview this message there is a space showing between the s and o in hostedresource. That space is not in the file.
Comment