Hi everyone. I’m reading a book on php, attempting to teach myself php coding. I was instructed to use the following code. I should note that I’m writing this in Eclipse Kepler. When I used the <<<_END previously in my code, it worked fine. This time, however, the text remains blue afterward which i’m assuming is related to the <<<_END as deleting that line will restore the text color to its proper form.
I was hoping that someone here might be able to catch what I’m doing wrong or if it is just a formatting bug in eclipse. Thanks in advance.
[php]for($j = 0; $j < $row; ++$j)
{
$row = mysql_fetch_row($result);
echo <<<_END
Title $row[0]
Publisher $row[1]
SQU $row[2]
Price $row[3]</pre> <form action = "ConnectionTest.php" method = "post"> <input type = "hidden" name = "delete" value = "yes" /> <input type = "hidden" name = "squ" value = "$row[4]" /> <input type = "submit" value = "DELETE RECORD" /> </form> _END; }[/php]