Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STR

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Xerpher
New php-forum User
New php-forum User
Posts: 164
Joined: Tue Aug 27, 2002 8:25 pm
Location: Ontario, Canada
Contact:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STR

Postby Xerpher » Wed Aug 28, 2002 2:53 pm

What does this error mean exactly?

DoppyNL

Postby DoppyNL » Thu Aug 29, 2002 12:06 am

The list of parser tokens is located here: http://www.php.net/manual/en/print/tokens.php

For this problem, there is something wrong with the string you "build"
you probably forgot to escape an " or ' (or forgot one of those)
just check the line wich the error references to for syntax errors in the string.

Greetz Daan


Return to “PHP coding => General”

Who is online

Users browsing this forum: Google [Bot] and 3 guests