how to insert HTML code into DB using php

前端 未结 6 2018
故里飘歌
故里飘歌 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 13:12

    I assume this will do the trick

    Encode your text

    when you get the text back from the database just decode it back

提交回复
热议问题