PHP issue with datatables


Topic: PHP issue with datatables

Julien asked 4 weeks ago

Hello EB,

I have an issue with basic datatables with sort (from here BOOTSTRAP 4 DATATABLES)when I use an array filled by PHP. With HTML data in table, like in exemple, all is ok. But with PHP, sort option doesn't works, search option too... How I can resolve this...?

Mateusz Łubianka staff commented 4 weeks ago


please, create a snippet showing your problem here: I'll try to help you.


Julien commented 4 weeks ago

Hello, thanks for your support :) I created a snippets, how I'm supposed to share it with you ? Do u see it ? Sorry Im noob on forum...

Julien commented 4 weeks ago

Ok I've founded where my error was. I've placed my to close my WHILE function just after <\body> instead of before. Now it's work perfectly :) How do I close this post now ?

Mateusz Łubianka staff commented 4 weeks ago


I'm glad everything works :) When you want to shere the snippets just paste link here :)


Please insert min. 20 characters.


Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.11.0
  • Device: PC
  • Browser: chrome
  • OS: WIN7
  • Provided sample code: No
  • Provided link: Yes