Re: parse error, unexpected T_ENCAPSED_AND_WHITESPACE
| From: | M. Sokolewicz | Date: | Mon, 14 Mar 2005 23:50:36 +0000 |
| Subject: | Re: parse error, unexpected T_ENCAPSED_AND_WHITESPACE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210717@lists.php.net to get a copy of this message | ||
Chris W. Parker wrote:
Chris W. Parker <>on Monday, March 14, 2005 3:15 PM said: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...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.