Jump to content

PHP Question


mrcannon

Recommended Posts

I am not a php programmer more a graphic designer but trying to finish a project a programmer left me hanging on.

I have a feedburner feed going into it but its making all the " into strange unique code for each one. How can I avoid this?

 

Please help!  :confused::wtf::shrug:

 

The page is here: http://www.alwebsolutions.com/alvinh/blog.php

 

Here is the code for the page:

 

<?php

$page = 'blog';
$title = 'Current // Blog';

?>

<?php include 'header.php'; ?>

                <div id="content">
                
                    <!-- Adds padding despite box model bug/Align left -->

                  <div class="padding left_align">

                        <h4><span>Blog</span></h4>
                        
                    <p class="clear"></p>
                  
                  </div>
                  
                  <div class="feedburnerFeedBlock" id="alvinhfeed"><img src="images/blogbuttons.png" alt="" width="557" height="57" border="0" usemap="#Map" />
                  
                  <map name="Map" id="Map">
                    <area shape="rect" coords="-32,-16,170,54" href="http://feeds2.feedburner.com/alvinh" alt="" />
                    <area shape="rect" coords="178,0,360,53" href="http://feedburner.google.com/fb/a/mailverify?uri=alvinh&loc=en_US" alt="" />
                    <area shape="rect" coords="366,-7,640,52" href="http://twitter.com/alvin_h" alt="" />
                  </map> <br />

             <script src="http://feeds.feedburner.com/alvinh?format=sigpro" type="text/javascript" ></script><noscript> </noscript>
             
             <br />
             
                </div>
</div>
            </div>

<?php include 'sidebar.php'; ?>

<?php include 'footer.php'; ?>

Link to comment
https://forums.phpfreaks.com/topic/172061-php-question/
Share on other sites

You have "smart quotes"

Note that “Hello World!” is not the same as "Hello World!"

 

the problem is on this page

http://feeds.feedburner.com/alvinh?format=sigpro

you can see that &#8217; gets converted to &#8217; that's the problem

 

 

&#8220; double open quote

&#8216; single open quote

&#8221; double close

&#8217; single close

Link to comment
https://forums.phpfreaks.com/topic/172061-php-question/#findComment-907243
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.