I have a simple jquery snippet here:
$("#someid").html("Text Here");
The only problem I am having is that I am putting Database data inside the html()
.
$("#someid").html("<?php echo $row['tablecolumn']; ?>");
It works great! Except for one thing.
It does not show when I have 'breaks' in the text from the database.
I'm sure I need to do some sort of escaping of characters. But I don't know quiet what that is. Any ideas out there?