how to insert HTML code into DB using php

前端 未结 6 2008
故里飘歌
故里飘歌 2020-12-11 12:40

i want to update my database with new html code this it the query:

UPDATE `Pages` SET `content`= \'
6条回答
  •  执笔经年
    2020-12-11 12:56

    Do following using addslashes() function, so it will help easily to insert update html to

    UPDATE `Pages` SET `content`= addslashes('

    ...some words....

    .some words....

     

    ')

提交回复
热议问题