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'. :)



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...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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