You are here: Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE « PHP « IT news, forums, messages
Re: [PHP] parse error, unexpected T_ENCAPSED_AND_WHITESPACE

Posted by M. Sokolewicz on 03/15/05 01:50

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'. :)
>
>
>
> Chris.
that's because he's using single quotes for his value there, and double
quotes to denote it being a string in that last part...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация