Jump to content

PHP parse error


davidcook

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.