$xml .= '<user>' . htmlspecialchars($i['user_name']) . '</user>';
$xml .= '<user>' . <a href="javascript:void(0)" onclick="document.getElementById('txt_message').value = 'nik'">nik</a>. '</user>';