文件上传和下载Php [英] File upload and Download in Php
本文介绍了文件上传和下载Php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用MySQL数据库在php上传和下载文件。
please帮助我......
How can i upload and download the file in php with MySQL database.
please help me...
推荐答案
如果你想从你的MySQL数据库中获取一些东西,你必须连接它然后查询它:
If you want to get something from your MySQL database, you will have to connect to it and then query it:
connectionString = mysql_connect( ' host',' MySQL username' ,' MySQL密码'); / / 连接到MySQL数据库
connectionString = mysql_connect('host', 'MySQL username', 'MySQL Password');//Connect to the MySQL database
selectDatabase = mysql_selectdb(' MySQL数据库名称',
selectDatabase = mysql_selectdb('MySQL Database Name',
这篇关于文件上传和下载Php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文