Jump to content

Recommended Posts

Go Daddy asked me to change the server name and I copied and pasted and this is the error I get:

 

Parse error: parse error, unexpected T_VARIABLE in /home/content/c/o/p/copycall/html/includes/database.php on line 1

 

And here is the spot where GoDaddy says is the problem:

<?php/** * *********************************************************************************************** * Filename:     database.php * Module:       -  * 

Subcategory:  -  * Description:  Website Configuration File  *               All constants are defined here  * 

************************************************************************************************/$db_host="copycallmysql.db.2028640.hostedresource.com

";$db_name="copycallmysql";$db_user="copycallmysql";$db_pass="Nixc09yca11";$tbl_prefix="cc";/*$db_host="localhost";$db_name="demoblitz_prop";$db_user="root";$db_pass="";$tbl_prefix="ps";*/include_once('conf.mysql.php');$post_vars = $_POST;$get_vars = $_GET;$file_vars = $_FILES;	$com_obj = new dbclass($db_host,$db_name,$db_user,$db_pass,$tbl_prefix);//require_once('conf.mysql.php');//Database  Parameters/*define('DB_TYPE', 'MySQL');							define('DB_URL', 

'localhost');define('DB_USERNAME', 'shyamala');					// Database Userdefine('DB_PASSWORD', 

'shyamala123');					// Database Passworddefine('DB_NAME', 'common');			

		// Database Name$dr_host='localhost';$dr_user='shyamala';$dr_pass='shyamala123';$dr_db='common';*/?>

 

All help will be greatly appreciated!

 

Dave

Link to comment
https://forums.phpfreaks.com/topic/139041-php-parse-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.