Export data only read 1 data even though there is more
Export data only read 1 data even though there is more
Im trying to export data using buttons but it's only read the first row. The data is collected from database using php.
Here is the code :


Here is the web, as you can there is more than 1 data

But, when i try to export the data, for example i want to copy the data, its only read the first data

Any solution ? Thanks before.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You are outputting a new
.
tbodyfor every row! Move thetbodyoutside your while loop and it will all work nicelyAllan