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.)
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.
JP1968 pro answered 5 years ago
Here is the table with no PHP:
Here is the table with PHP:
Here is the PHP with no errors on the page:
Here are the unchanged assets from the index page:
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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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