Php doubles my quotes

Hello i have this problem and i hope someone can help me.

the normal php code in my file is this one (‘/’, 10, 1)
and actually when the page is generated it shows like this (‘’/‘’, 10, 1)

as i see the php or something doubles my quotes

many thanks in advance

What do you mean by ‘when the page is generated…’? How the page is generated? Can you tell us after what action the single quote is changed to double?

simply when i look at the pagesource the thing is double quoted and not single like on the php page opened in a txt editor

Can you paste your PHP script here?

<ul id=“star-rating”>
<li class=“current-rating” style=“width:!GAMERATING!px;”>Rating</li>
<li><a href=“javascript:void();” onClick=“rateGame(‘!SITEROOT!’, !ID!, 1);” title=“Poor” class=“one-star”>1</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘!SITEROOT!’, !ID!, 2);” title=“Fair” class=“two-stars”>2</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘!SITEROOT!’, !ID!, 3);” title=“Good” class=“three-stars”>3</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘!SITEROOT!’, !ID!, 4);” title=“Very Good” class=“four-stars”>4</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘!SITEROOT!’, !ID!, 5);” title=“Excellent” class=“five-stars”>5</a></li>

and on the site it looks like this:

<ul id=“star-rating”>
<li class=“current-rating” style=“width:0px;”>Rating</li>
<li><a href=“javascript:void();” onClick=“rateGame(‘’/‘’, 8, 1);” title=“Poor” class=“one-star”>1</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘’/‘’, 8, 2);” title=“Fair” class=“two-stars”>2</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘’/‘’, 8, 3);” title=“Good” class=“three-stars”>3</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘’/‘’, 8, 4);” title=“Very Good” class=“four-stars”>4</a></li>
<li><a href=“javascript:void();” onClick=“rateGame(‘’/‘’, 8, 5);” title=“Excellent” class=“five-stars”>5</a></li>

I don’t see any PHP script there in the first code. The lines are just HTML elements. So PHP is nothing to do here. Either there is PHP script somewhere to replace something because the !ID! has been replaced with the number 8. What is doing this replacement? Is there PHP script somewhere to do that? If yes show us that code. Otherwise it should something problem with the rendering of the browser.

actually everywhere on all the site if i put a ’ when i look at the page source it is doubled, no matters if its php or html, thats my problem

I am having the exact same issue.

Make sure magic_quotes is turned off in php.ini

magic_quotes is turned off