Jump to content

Stripslashes not working


lisounder

Recommended Posts

Content still displays slashes in front of quote.  What am I doing wrong?

 

Thanks.

 

  {

        $row = $rs->GetRowAssoc(false);

        $photos[$i]["id"] = $row["id"];

        $photos[$i]["photo_path"] = $config_index["homepage_photos_path"]."/".stripslashes($row["photo"]);

        $photos[$i]["description"] = stripslashes($row["descr"]);

        if ($row['type'] == 'l')

            $photos[$i]["link"] = stripslashes($row["link"]);

        elseif ($row['type'] == 'p')

            $photos[$i]["poll"] = get_poll($row['link']);

 

        $rs->MoveNext();

        $i++;

    }

Link to comment
https://forums.phpfreaks.com/topic/227059-stripslashes-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.