Jump to content

Symbols appearing differently


khalid

Recommended Posts

Hi all,

 

I've just had www.barvacancy.com coded for me and I was playing about with it when I noticed two faults...

 

1. £ symbols appear as ?

2. ' symbols appear as \\\

 

Example: http://www.barvacancy.com/jobs/United%20Kingdom/Bristol/Supervisor/One%20Nightclub_1213529022-9914744

 

I am awaiting the coder's response to fixing this issue but I'm just wondering if anyone here can help solve the problem?

 

Your help is much appreciated,

 

Khalid.

Link to comment
Share on other sites

The \\\ is most probably caused by magic quotes. magic quotes escapes quotes automatically within $_GET, $_POST and $_COOKIE vars. I'd recommend disabling the magic quotes runtime altogether. For a simple fix you can use stripslashes function on the variable which gets the data out of your database.

 

As for the pound symbol not sure on that one.

Link to comment
Share on other sites

Hi,

 

Thanks for the replies.

 

I am a total newbie at php so I'm wondering if anyone could actually direct me to the exact page and code I would need to insert? My apologies of the lack of knowledge, I am still learning. I know a little html and can understand some php but not enough to fix this.

 

Your help is appreciated,

 

Khalid.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.