Hello everyone, the problem I have is a bit strange. I have db into which I save comments and then display them under articles. Everything works just fine but when I comment some code (I did just from testing purposes, don't expect people posting codes there), it won't display and I suspect it integrates into the code of the page. I tried to "wrap" the comment into "" and '' but it still won't display the code.
Does anyone have any idea?
$f1=mysql_result($result,$i,"name");
$f2=mysql_result($result,$i,"mail");
$f3=mysql_result($result,$i,"time");
$f4=mysql_result($result,$i,"comment");
?>
<tr>
<td><span><u><?php echo $f1; ?> (<?php echo $f2; ?>)</u></span></td>
</tr>
<tr>
<td valign="top"><font face="Arial, Helvetica, sans-serif" size="1%"><i><?php echo $f3; ?></i></font></td></tr>
<tr>
<td>'<?php echo "$f4"; ?>'</td>
Basically, I tried to fiddle with echo $f4 - use "" or '' but nothing works. Other comments work and the field db contains text I posted there.
Pls help