Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function unhtmlspecialchars( $string ) {
- $string = str_replace ( '&', '&', $string );
- $string = str_replace ( ''', '\'', $string );
- $string = str_replace ( '"', '\"', $string );
- $string = str_replace ( '<', '<', $string );
- $string = str_replace ( '>', '>', $string );
- return $string;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement