Jump to content

New's script slashes, want help?

Guest ElectusUnum

Recommended Posts

I noticed you guys have slashes before all your apostrophe/single quotes in the news posts. I'm guessing your running PHP with a MySQL DB. If you want I can get rid of that for you, or let you do it yourself (I don't know if you guys are familiar with php or not). Anyway, before the content is output to the browser run it through stripslashes():


$content = stripslashes($content);

That should do the trick.

Link to comment
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...