Jump to content

Strange problem PHP MySQL


cdmafra

Recommended Posts

Hello.

 

I have a problem with my website. When I introduce the symbols " or ' through text editor (PHP based), the database adds a / to the code. The problem happens in text, but also in pictures or embeded iframes, etc..

 

Example:

Correct snipet of code to go to DB:

Felipe Nasr: "seria ótimo chegar à  F1 com o António Félix da Costa"

 

How it goes to DB:

Felipe Nasr: "/seria ótimo chegar à  F1 com o António Félix da Costa/"

 

I have localhost, and two different hosts to my website (.cwahi.net and .atspace.eu). The files are the same in the three cases, but this problem only happens in atspace.eu... Can it be a server problem?

 

Thank you in advance!

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.