Suxex
Member
Hello everyone!
I really need help with this and I know there are more then me out here who needs help with this.
HOW do I fix the character comments at Gesior AAC?
My code:
I can write in comments and it saves but dont shows up when I search on my character.
Thanks in advice!
I really need help with this and I know there are more then me out here who needs help with this.
HOW do I fix the character comments at Gesior AAC?
My code:
PHP:
// Char Comment
$id = $player->getCustomField("id");
$comment = $player->getComment();
$newlines = array("\r\n", "\n", "\r");
$comment_with_lines = str_replace($newlines, '<br />', $comment, $count);
if($count < 50)
$comment = $comment_with_lines;
if(!empty($comment))
{
if(is_int($number_of_rows / 2)) { $bgcolor = $config['site']['lightborder']; } else { $bgcolor = $config['site']['darkborder']; } $number_of_rows++;
$main_content .= '<TR BGCOLOR="'.$bgcolor.'"><TD>Comment:</TD><TD>'.$comment.'<br/></i></span></TD></TR>';
}
// END Char Comment
}
I can write in comments and it saves but dont shows up when I search on my character.
Thanks in advice!
Last edited: