Ad block is installed and active. Please support us by disabling it.
HomeWednesday, April 25, 2018, 08:54:34
2

Addslashes - Stripslashes

Monday, February 9, 15, 03:10:09, 3 Yaers Ago Via wain, Hits: 5794
addslashes — quote string with slashes, stripslashes — un-quotes a quoted string
Code:
<?php
$str = "'PHP' is an open-source server-side scripting language";
//addslashes — quote string with slashes
$str = addslashes($str);
echo $str . "<br>";
//stripslashes — un-quotes a quoted string
$str = stripslashes($str);
echo $str;
?>

Sign In

Sponsor

Related

PHP explode

Explode — Split a string by string.

PHPBB3 Shoutbox

Vesion: 1.1. Released: 08/08/10, Licence GNU, Price: Free

PHP Form Validation

PHP form validation :: PHP tutorial, requirement(s): PHP Server

Captcha V1 - Free PHP Script

An anti-spam form protection image written in PHP, Version: 1.1.

PHP Str_replace - PHP Tutorial

This function returns a string or an array with all occurrences of search in subject replaced with the given replace value.

PHP Cookies and Sessions Tutorial

PHP Cookies and Sessions Tutorials

PHP $_GET Function

Get function in PHP

Prevent the error loading XML – libxml_use_internal_errors

libxml_use_internal_errors() allows you to disable standard libxml errors and enable user error handling.

Stack Overflow Clone Script - Ja2BU

Open source question and answer script written in PHP, MySQL and jQuery. Main features are: SEO friendly url's, private message system, rating system, comments system.

Site Recommendation

This script will allow your visitors to recommend your site to their friends.
About Author

wain

Date Registered: Sun, Feb 8, 15
Last Time Online: Sun, Mar 18, 18
So far has created 115 entries.
wain
This author has not yet filled in any details.