Menu

#2 stripslashes

v1.0_(example)
open
nobody
5
2003-01-11
2003-01-11
terence
No

When browsed, every single/double quotation mark in the
data text is preceded by an unwanted backslash. How do
I kill it?

Discussion

  • terence

    terence - 2003-01-18

    Logged In: YES
    user_id=685678

    In search.php find

    $title = $val["title"];

    $author = $val["author"];

    and change them to

    $title = stripslashes ($val["title"]);

    $author = stripslashes ($val["author"]);

     
  • terence

    terence - 2003-01-19

    Logged In: YES
    user_id=685678

    Also, in view.php find

    "TITLE" => $resource["title"],

    "AUTHOR" => $resource["author"],

    Change them to

    "TITLE" => stripslashes ($resource["title"]),

    "AUTHOR" => stripslashes ($resource["author"]),

     
  • terence

    terence - 2003-01-20

    Logged In: YES
    user_id=685678

    do the same in checkout1.php!

     

Log in to post a comment.

Monday.com Logo