Products
GG网络技术分享 2025-03-18 16:12 1
Is it possible to upload a user frontend uploaded table and send it to phpmyadmin database and then display it on the website? I\'ve tried searching everywhere but there simply isn\'t anything I\'ve found on that matter.
All Wordpress plugins I checked out are for me to upload them instead of the users on the frontend.
图片转代码服务由CSDN问答提供
感谢您的意见,我们尽快改进~
功能建议是否可以上传用户前端上传的表并将其发送到phpmyadmin数据库然后在网站上显示? 我已经尝试过到处搜索,但根本没有找到任何关于此事的内容。</ p>
我签出的所有Wordpress插件都是我上传的,而不是用户上传的。 前端。</ p>
</ div>
Build a file upload form on your site and allow CSV files. In the PHP code that will handle the uploaded file, you write the proper code to import CSVs into your database. This can be risky, consider security while processing the file. The user will have to know to make a CSV from excel.
###
You can save the Excel table as csv file. You have to choose the csv file where they use semicolons as separator. If you trust the Google Translator it\'s called \\\"CSV (separator separated)\\\". It will sperarate the columns with semicolons.
Then you go to phpmyadmin, select your table and click on import.
Select your file, and select \\\"CSV\\\" under \\\"Format\\\".Then you press \\\"OK\\\" and your csv file should be converted to a table in your database.
Demand feedback