Topic: PHP issue with datatables

Julien free asked 4 years 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 years ago

Hi,

please, create a snippet showing your problem here: https://mdbootstrap.com/snippets/. I'll try to help you.

Best,


Julien free commented 4 years 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 free commented 4 years 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 years ago

@Julien,

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

Best,



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.11.0
  • Device: PC
  • Browser: chrome
  • OS: WIN7
  • Provided sample code: No
  • Provided link: Yes