I use joomla to manage a website... and i am developing a stand alone php application that will insert and modify data into the tables that are used by joomla to store the
This is the best way i found addslashes()
addslashes()
$article_code = addslashes($article_code); UPDATE $jos_content SET introtext = '$intro_code', fulltext = '$article_code' WHERE id = '$article_id'";