okay this is just so messed up to me i don't understand why, its doing this
My Onclick code is this
<a onclick="javascript:quote('<?php echo $dnn2['message']; ?>', '[quote=<?php echo $dnn2['author']; ?>]', '[/quote]', 'message');">quote</a>
my problem is its being echoed like this
brandon Wrote:
second comment on the topic
', '[quote=brandon]', '[/quote]', 'message');">quote
and i have no idea why it is, here is the page source
<td class="left" style="min-height:100px;margin-left:100px;width:500px;border:solid 1px #2E2E2E;border-radius:5px;">
<div style="height:40px;margin-left:250px;margin-top:5px;width:250px;"><b>Date sent:</b> 2014/09/01 10:17:29</div>
<div style="border:1px solid gray;"><div>brandon Wrote:</div> <div><span style="text-decoration:underline;"><strong>second comment on the topic</strong></span></div></div>
<div class="edit">
<a href="edit_message.php?id=1&id2=21">
<img src="default/images/edit.png" alt="Edit" />
</a>
<a onclick="javascript:quote('<div style="border:1px solid gray;"><div>brandon Wrote:</div> <div><span style="text-decoration:underline;"><strong>second comment on the topic</strong></span></div></div>', '[quote=brandon]', '[/quote]', 'message');">quote</a>
</div>
</td>