HomeSunday, June 24, 2018, 01:36:06
2

Addslashes - Stripslashes

Monday, February 9, 15, 03:10:09, 3 Yaers Ago Via wain, Hits: 6100
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 form with file upload

Advanced Contact Form with email and form field validation. It allows your visitors to send you an email directly from your website.

Preg_Match - PHP Email Validation

Validate email with preg_match in php

Block Visitors From Specific IP Address

Learn How To Restrict Users From Different IP Addresses.

MySQL Inner Join

MySQL Inner Join - Creating Dynamic Webpages Using PHP and MySQL, Requirement(s): PHP Server, MySQL

Adodb Recordcount Example

RecordCount returns the number of rows in the record set.

Tell A Friend with Captcha

This form allows your visitors to suggest your site to a friend. It features an HTML email format and an admin notification email.

Bookmark Current Page - PHP Tutorial

Bookmark current page with PHP example.

PHP Date Examples

Returns a string formatted according to the given format string using the given integer timestamp or the current time if no timestamp is given.

Process Form Data with Jquery

jQuery, Process form data

Link Base 2.0.

Manage your links using a MySQL database. It features easy install, user submission, and an admin panel to add, edit and remove categories and links.
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.