get data from mysql database to use in javascript

后端 未结 4 1805
攒了一身酷
攒了一身酷 2020-12-13 05:51

I have a javascript that dynamically builds an html page. In the html page there are textarea boxes for the user to type information in. The information already exists in

4条回答
  •  没有蜡笔的小新
    2020-12-13 06:18

    You can't do it with only Javascript. You'll need some server-side code (PHP, in your case) that serves as a proxy between the DB and the client-side code.

提交回复
热议问题