php 8.0 or higher
php 8.0 or higher

I need to update to php 8.2 and when I update to a version higher than 7.4, my datatable only shows 2 rows. My query produces 15 rows. Any help wouls be appreciated.
I do not receive an error message, just limited data.
Answers
These are the <head> settings:
Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
What troubleshooting steps have you taken and what did you find?
Are you using a Datatables supplied server script?
How are you loading the data?
Have you verified that the server is providing the expected rows? For example if using
ajax
then use the browser's network inspector to see the JSON response.Can you post a link to a test case showing the issue so we can help debug?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
At this time I have php set to 7.4 on my hosting account. All rows are displayed in the table. When I set php to 8.0 or higher, the table will display only two rows. The query does connect to the dadabase and retrieve all the data so the problem is not the database or php code when I change to php 8.0.
In my testing I switched back to php 7.4 and all is well. until I use 8.0 again.
This is the script currently being used:
Edited by Kevin: Syntax highlighting. Details on how to highlight code using markdown can be found in this guide
Posting the Datatable include information really doesn't help us to debug the issue. I will ask my questions again to help further understand your environment.
Maybe you can post your Datatables initialization config. That will help to answer number 2.
Datatalbes will load the number of rows provided. Since the only change is with the server PHP version I would concentrate on debugging the server side as the client side hasn't changed.
Possibly use the debugger to provide information for the developer to review.
Kevin