when I pull the text content from the DB, apostrophes get all jarbled..
<?php
$page = "home";
$sql = "SELECT * FROM content WHERE pagename='$page'";
$result = mysql_query($sql);
$pagecontent = mysql_fetch_array($result);
$displaypage = $pagecontent["pagecontent"];
echo $displaypage;
?>
my apostrophes end up looking like: ’
is there a way to process the apostrophes to display as the HTML code for apostrophe after the db has been queried?