View Single Post
  #3  
Old 14th February 2010, 09:13
mat22 mat22 is offline
Senior Member
 
Join Date: Jun 2009
Latvia
Posts: 119
Default
I tried to insert it but didn't help.Well, however when I took out this part:
Code:
if ($CURUSER["chatpost"] === 'no'){
echo'<h2><br><center><font color=red>Tev ir atslēgts čats.</font></center></h2>';
die();
}
else
{
    echo '<form method=post action=shoutbox.php>';
    echo '<input type=hidden name=id value='.(int)$res['id'].'>';
    echo '<textarea name=text rows=3 id=specialbox>'.htmlspecialchars($res['text']).'</textarea>';
    echo '<input type=submit name=save value=save class=btn>';
    echo '</form></body></html>';
    die;
}
Everything started to work.
Reply With Quote