How to get data from database in javascript based on the value passed to the function

前端 未结 3 997
不知归路
不知归路 2020-12-10 00:00

In my web application, I want to retrieve data from database based on the value that is passed to the function. I wrote the query as follows.



        
3条回答
  •  天涯浪人
    2020-12-10 00:42

    Try the following:

    
    

    You don't have access to javascript variable names in SQL, you must pass the values to the Database.

提交回复
热议问题