====== getEscaped ======
{#JAPI Joomla.Framework Database JDatabase::getEscaped #}
Escapes characters with special meaning for the database.
===== Syntax =====
string getEscaped ( **$text** )
| **$text** | string | is a string that is to be escaped. |
===== Examples =====
$database =& JFactory::getDBO();
$text = "What's my line?";
echo $database->getEscaped( $text );
will produce:
What\'s my line?
----
~~DISCUSSION~~