php - Parse error: Unexpected T_STRING on line 7 -


i know these forums flooded dumb questions these has me stumped! ideas?

define ("db_name”, ”downloa6”); // set database name  parse error: syntax error, unexpected t_string on line 7 

you using 2 different double quotes in code, 1 of php recognizes.

define ("db_name”, ”downloa6”); // set database name         ^ 

this quote correct character, others not , php interpreting them part of string rather end of string. use " instead.

using ide syntax highlighting avoid problem in future.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -