Re: parse error, unexpected T_ENCAPSED_AND_WHITESPACE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris W. Parker wrote:
> Chris W. Parker <>
>     on Monday, March 14, 2005 3:15 PM said:
>
>
>>>Line 82 is:
>>>print '<td><input type=\'checkbox\' name=\'status[' .
>>>$row["profileID"] . ']' . "' value='true'/></td>\n";
>>
>>Very likely the problem is not on line 82, but rather before it. Line
>>82 is just where the PHP parser finally gets screwed up.
>
>
> Ohh .. and if i read it more fully the first time I would have seen that
> you've got some funky in/out quoting problems and that you're not
> escaping the quotes wrapping 'true'. :)
>

Quotes look ok to me?  God bless VIM (even on this old windows box) :)

In any case Chris' original suggestion is probably right... it's likely
that the last place you used quotes *before* line 82 is missing a
closing quote.

--
Teach a man to fish...

NEW? | http://www.catb.org/~esr/faqs/smart-questions.html
STFA | http://marc.theaimsgroup.com/?l=php-general&w=2
STFM | http://php.net/manual/en/index.php
STFW | http://www.google.com/search?q=php
LAZY |
http://mycroft.mozdev.org/download.html?name=PHP&submitform=Find+search+plugins

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux