PHP 4.0 Bug #3782: parse error -double quote in echo()
| From: | kochin at soback dot kornet dot net | Date: | Thu, 09 Mar 2000 13:07:11 +0000 |
| Subject: | PHP 4.0 Bug #3782: parse error -double quote in echo() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16572@lists.php.net to get a copy of this message | ||
From: kochin@soback.kornet.net
Operating system: redhat 6.1
PHP version: 4.0 Beta 3
PHP Bug Type: Performance problem
Bug description: parse error -double quote in echo()
thank you very much
then I meet the problem of parse error.
that is, how use a double quote in echo()?
____329_
____330_echo_('<A_href="./view.html?id=$row[id]&code=$code&start=$start">$row[ti
tle]');
.....
____348_echo("</FONT></A></TD>
____349_
____350_
<TD_align='center'_width='46'><FONT_size='2'_color=black>$row["count"]
</FONT></TD>
____351_
____352_
<TD_align='center'_width='74'><P><FONT_size='2'_color=black>$row[3]
</FONT></TD>
____353_
____354_ <TD_align='center'_width='76'><P>");
____355_
____356_if($row["mail"])
____357_ {echo("<A_href='mailto:$row["mail"]'><FONT_size='2'_color='darkblue'>
$row["name"]</FONT></A></TD>");
____358_ }
____359_ else
____360_
{echo("<FONT_size='2'_color='darkblue'>$row["name"]</FONT></TD>");
____361_ }
____362_
____363_
echo("<TD_align='center'_width='40'><P><FONT_size='2'_color=black>$ro
w["hits"] </FONT></TD></tr>");
____364_
____365_ $n--;
____366_
......
in manual, i read to use 'backslash(\)'
but in my homepage, there is the same problem.
parse error
i don't know how do i do?
please explain the example.
or teach the reference site.