Is it possible to change query after binding a parameter in mysql?

拜拜、爱过 提交于 2019-12-24 13:26:08

问题


For example:

if I have this query: SELECT * FROM table WHERE test = ?

then I bind a parameter, can I now add something to my query?

If this is possible please give me an example in PHP.


回答1:


No it isn't possible. What do you need?




回答2:


No, it's not possible. You'll have to prepare a new query.



来源:https://stackoverflow.com/questions/31892748/is-it-possible-to-change-query-after-binding-a-parameter-in-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!