Thursday 13 December 2007 1:46:16 am
Hi Piotrek, You can use escapeString() ezdbinterface.php
/*!
\pure
Will escape a string so it's ready to be inserted in the database.
*/
function escapeString( $str )
{
return $str;
}
Re-implemented in ezmysqldb.php
$db = eZDB::instance();
$db->escapeString( $str );
When you are using eZPresistentObject for storing content it will handle it automatically.
Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog
|