Parse error: syntax error, unexpected

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
element121
php-forum Fan User
php-forum Fan User
Posts: 606
Joined: Sat Jun 06, 2015 11:46 am
Contact:

Mon Dec 14, 2015 9:42 am

It looks like you might be missing a closing bracket } before this line:

Code: Select all

if(DB_TYPE){

element121
php-forum Fan User
php-forum Fan User
Posts: 606
Joined: Sat Jun 06, 2015 11:46 am
Contact:

Mon Dec 14, 2015 10:25 am

What's the message?

element121
php-forum Fan User
php-forum Fan User
Posts: 606
Joined: Sat Jun 06, 2015 11:46 am
Contact:

Mon Dec 14, 2015 10:26 am

Code: Select all


}
if(DB_TYPE){
$database = new MYSQLi_DB;
}else{
$database = new MYSQL_DB;
}


Post Reply