how do I use mysql real escape string?

前端 未结 3 1942
故里飘歌
故里飘歌 2021-01-20 00:42

The code here is still incomplete because I\'m still going to ask you guys on what the proper format/syntax of using mysql escape string. Im still a beginner in php and I wa

3条回答
  •  萌比男神i
    2021-01-20 01:17

    you need to use this function like this

    ....VALUES (".mysql_real_escape_string('$_POST[hnum]').",...
    

提交回复
热议问题