Mysqli Prepare Statements + Binding Order BY

后端 未结 1 1495
醉梦人生
醉梦人生 2020-12-21 05:19

I am having a small issue with the mysqli_stmt prepare function. Here is my query:

$params = array(
    \"sisi\",
    \"some_string\",
    5000,
    \"date_a         


        
相关标签:
1条回答
  • 2020-12-21 05:52

    As the php.net link you found states, you cannot use bind variables for identifiers. You'll need a workaround. mysql_real_escape_char would certainly be one way.

    0 讨论(0)
提交回复
热议问题