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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -