How to implement PHP to read data from SQL to achieve carousel effect
范珺
范珺 2018-08-30 11:18:17
0
2
1349

How to display data one by one? For example: There are three pieces of data in my database

name 张三、李四、王五  age 20、21、22
如何在web 页面 逐条输出 张三 20   李四 21  王五 22  即输出张三 20 停顿2秒 换成  输出 李四 21  停顿2秒 换成输出 王五 22  三条数据不同时出现。
范珺
范珺

reply all(2)
jesse

First of all, you need to have a static page. This page can meet the carousel effect you mentioned, but the data is static, which you write in the code. To dynamically retrieve data from the database, you need to use PHP connects to the database to get the result set and displays the output on the page

阿尔托莉雅

Use Timeline

  • reply How to make this thing? Is it written in html or php?
    范珺 author 2018-09-01 16:28:21
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!