If you want to upload images to the server due to a problem that occurs on the front-end when retrieving data from MYSQL, you can use the MYSQL address to store 1000 images and randomly find several images displayed on the front-end. I cannot write it myself. what's the idea? I also know what keywords I want to search online. what can I do with my help? Data mysql: a problem that is displayed on the front-end when retrieving data from MYSQL
If you want to upload images to the server, you can use the MYSQL address to store them. There are 1000 images randomly displayed at the front-end.
I cannot write it myself. what's the idea? I also know what keywords I want to search online. what can I do with my help?
Data mysql server image
Share:
------ Solution --------------------
1. you should upload images first! Don't look at this screen tutorial (http://www.php100.com/html/shipinjiaocheng/PHP100shipinjiaocheng/2009/0416/808.htm)
2. the image address is imported into the database and will not go to the tutorial the same way.
3. randomly fetch a few images, such as 12 images, which can be written in SQL:
Select * from 'table' order by rand () limit 12
------ Solution --------------------
Php file Upload
Http://www.w3school.com.cn/php/php_file_upload.asp
------ Solution --------------------
Mysql Query statements are http://www.3lian.com/edu/2013/03-01/58619.html that support random queries