references:joomla.framework:database:jdatabase-getescapedTable of Contents
getEscaped
Escapes characters with special meaning for the database. Syntaxstring getEscaped ( $text )
ExamplesExample $database =& JFactory::getDBO(); $text = "What's my line?"; echo $database->getEscaped( $text ); will produce: Result What\'s my line?
Discussion |


