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

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

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -