Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7759239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:34:37+00:00 2026-06-01T13:34:37+00:00

So here is my problem: I have coded an administration area for my website,

  • 0

So here is my problem:

I have coded an administration area for my website, and it has a textarea which should CREATE news for the website. Everything works fine when using , etc. But when it comes to quotes (” “) everything gets messed up. The quotes get ESCAPED with a \ (slash).

The submitted news will be seen in the index page of the site, so that’s where I know if the written HTML in the administration was OK or not. This is how the code should be:

<a href="http://www.youtube-nocookie.com/v/q9FY9O8os4M&hl=it_IT&fs=1?rel=0" rel="iframe-640-505" class="pirobox_gall1" title="MC Qoppa - Dashnise "><img src="../styles/thumbs/qopa2.jpg" width="250" height="140" class="thumb"></a>

This is how it looks like after submitting:

<a href=\"http://www.youtube-nocookie.com/v/q9FY9O8os4M&hl=it_IT&fs=1?rel=0\" rel=\"iframe-640-505\" class=\"pirobox_gall1\" title=\"MC Qoppa - Dashnise \"><img src=\"../styles/thumbs/qopa2.jpg\" width=\"250\" height=\"140\" class=\"thumb\"></a>

I was using TinyMCE (a WYSIWYG editor) when I noticed the problem, thought it was causing the issue, but it’s not, because I’ve removed it and I still keep getting these HTML messes.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:34:39+00:00Added an answer on June 1, 2026 at 1:34 pm

    Magic quotes are a deprecated PHP feature originally intended to prevent SQL injection attacks against a web application’s security. It is possible that your web host has magic quotes turned on.

    For security, developers should use the “prepared statement” functions of the mysqli and PDO extensions when including user input in a SQL statement. If that is not possible for some reason (e.g. these newer extensions are unavailable on a specific web host), developers should use an appropriate MySQL escaping function (e.g. mysql_real_escape_string()) properly.

    You can try turning magic quotes off in php.ini or .htaccess and see if the slashes disappear; however, please ensure your application is secure against SQL injection attacks first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a little problem here. I got an application which sends a list
Here's my problem - I have some code like this: <mx:Canvas width=300 height=300> <mx:Button
I have a problem here with this code. I'm opening a socket, then listening
Hi I have a code example available here: http://jsbin.com/oxoweh My problem is that I
Here is the problem from code chef : A set of N dignitaries have
I have a problem with this code right here: - (void)fetchedData:(NSData *)responseData { //parse
I have a problem using JSON and arrays. Here is my code: while($row =
I have a small problem with interfaces. Here it is in Pseudo code :
am new here. i have a slight problem; PLease look at the following code
I have problem adding arraylist to list view, will explain about my problem here..

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.