Topic: Datatables and PHP

JP1968 pro asked 5 years ago


Expected behavior Datatable to keep its styling and functionality. Actual behavior When saved as PHP loses its styling and functionality. Resources (screenshots, code snippets etc.) enter image description here


JP1968 pro answered 5 years ago


Everything works fine when I went to the jquery datatables website and copied the CDN's. But when I use the mdbootstrap links the datatables no longer work when programming with PHP. I have tried several different ways but still no luck. I verified the location of the files etc. I will just keep using the CDN's at this point since they are working.


Krzysztof Wilk staff answered 5 years ago


Ok, everything looks fine. Can you make screenshot from this overlap?

enter image description here


JP1968 pro answered 5 years ago


Here is the table with no PHP:

enter image description here

Here is the table with PHP:

enter image description here

Here is the PHP with no errors on the page:

enter image description here

Here are the unchanged assets from the index page:

enter image description here


Krzysztof Wilk staff answered 5 years ago


Hello!

Can you open your file with this datatable in browser, then open console using f12 key, make screen from your console and from "Network" overlap? I want to see what console shows us and be sure that all assets are loading properly.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.8.4
  • Device: Macbook Pro
  • Browser: All
  • OS: Mojave 10.14.5
  • Provided sample code: No
  • Provided link: No