+ 2

What is the fastest/easiest way to connect to a database query a table then insert that table into an html table?

I currently use PHP: connect to DB2: query a table: then JSON info into JS and for loop into html table. But it takes 5-10 seconds long. When it should take less than 1.

18th Nov 2019, 7:15 PM
Dick Tracy
Dick Tracy - avatar
4 ответов
0
What about printing table using for loop in php code after getting data from database
16th Dec 2019, 11:48 PM
Ayoub Maghdaoui
Ayoub Maghdaoui - avatar
0
How would you continue to update that information? The problem is trying to read millions or records to place in a table. Here is a good example of what I'm talking about. Go to MSI.com and select a MB then in support/compatibility section select memory. There is a huge table that generates. It's kinda what I'm trying to do but mine takes longer.
17th Dec 2019, 2:48 AM
Dick Tracy
Dick Tracy - avatar
0
So you have loaded data you are just showing it in rows using javascript ?
17th Dec 2019, 7:17 AM
Ayoub Maghdaoui
Ayoub Maghdaoui - avatar
0
Yeah, using Ajax to send and receive data from server. But there are 100s of people updating these tables and when you want to view the progress it takes a long to to retrieve this information.
17th Dec 2019, 6:44 PM
Dick Tracy
Dick Tracy - avatar