db_unescape_string From Online Manual

Revision as of 19:38, 16 July 2011 by Emanuele (talk | contribs) (Created page with "{{smcfunc |function=db_unescape_string |usage=$smcFunc['db_unescape_string'] (cleaned_string) |description=Unescapes a string. The opposite of db_escape_string. |parameters=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage:

$smcFunc['db_unescape_string'] (cleaned_string)


Description: Unescapes a string. The opposite of db_escape_string.

Parameters:

  • cleaned_string the string to be unescaped.

Return: The unescaped string.

Example:

// Strip the slashes from every element.
foreach ($var as $k => $v)
	$new_var[$smcFunc['db_unescape_string']($k)] = unescapestring__recursive($v);



Advertisement: