Announcement

Collapse
No announcement yet.

problem with slash

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Zoombie
    replied
    it looks like you're having a problem with magic quotes. you can disable this by doing:
    PHP Code:
    set_magic_quotes_runtime(0); 
    you could also use stripslashes on each var

    Leave a comment:


  • TheHideoutGuy
    replied
    Remove slashes?

    Not too clear on what you're trying to do, but have you looked at the stripslashes function??

    Assuming $string looks like: This is a \"test\"

    PHP Code:
    $string=stripslashes($string); 
    Would yield:

    This is a "test"

    Leave a comment:


  • bayan
    started a topic problem with slash

    problem with slash

    hello every body

    when i use writing into a file.txt with php

    i can't write [ " ] it wil be like this [ \"]

    whow can i solve this problem


    :: Mr : Bayan ::

Related Topics

Collapse

Working...
X