Announcement

Collapse
No announcement yet.

slash help

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

  • slash help

    I have just begun coding in php. i made a script where u enter info and it gets saved into a file. whenever there is a word like friend's or house's, it gets printed as friend\'s or house\'s. Can someone help me? i tried using the stripslashes command but it wont work.

    stripslashes ($subheading); this is what i did and then print ($subheading);


  • #2
    $subheading = stripslashes($subheading);
    echo $subheading;
    Site: -http://www.jazz2online.com-
    Forums -http://www.jazz2online.com/jcf/-

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X