Inserting html code in a mysql table

后端 未结 11 849
我在风中等你
我在风中等你 2020-12-11 01:14

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

11条回答
  •  半阙折子戏
    2020-12-11 01:52

    fulltext is a mysql predefine keyword. Please use Acute(`) or single quote(')

    Here is code -

    UPDATE $jos_content
    SET    `introtext` = '$intro_code',
           `fulltext`  = '$article_code'
    WHERE  `id` = '$article_id'";
    

提交回复
热议问题