Sumanta Sharma yes you can, all you need to check the documentation of site from which you want to retrieves the data like url and parameters. once you get response in json format , follow above tutorial to display data.
this is not good, you must use the serverSide option and processing, and using LIMIT in the query, not selecting all the data from table. DataTable send variables like $_REQUEST["start"] which is the offset start of selection and $_REQUEST["length"] which is the LIMIT number.
nice tut pro
thanku brother , its working Properly
u made it simple, thanks a lot
how to use database query with join in server side processing?
Thanks, can we send a post request with a parameter to any API to get the data ?
Sumanta Sharma yes you can, all you need to check the documentation of site from which you want to retrieves the data like url and parameters. once you get response in json format , follow above tutorial to display data.
doesnt work , error DataTables warning: table id=myTable - Requested unknown parameter '0' for row 0, column 0
Web Tuts
Could you run the debugger or link to the page please? That will hopefully give me enough information to understand why it isn't working.
I tried this but it throws an invalid json response error. kindly help
you can troubleshoot through developer tool under chrome(see the request in network). hope it'll help you or get back
you can check your json response following site.
jsonlint.com/
and see you have valid json or not
What if my approach was PDO and OOP? And All of my methods are in one php file?
As long as you're displaying a json it doesn't matter where your functions are :)
How to add number per row?
error DataTables warning: table id=myTable - Requested unknown parameter '0' for row 0, column 0. what the problem??
Could you run the debugger or link to the page please? That will hopefully give me enough information to understand why it isn't working.
thanks
this is not good, you must use the serverSide option and processing, and using LIMIT in the query, not selecting all the data from table. DataTable send variables like $_REQUEST["start"] which is the offset start of selection and $_REQUEST["length"] which is the LIMIT number.
how to display data having the same age? pls help thank you
if you are talking about mysql then you need to write this query
SELECT * FROM table_name WHERE age = ENTER_AGE;
ive try it sir but error says datatable error invalid json response
you can check your json response following site.
jsonlint.com/
and see you have valid json or not
Not working.
10 Q !!!!!!!!!!!!!!!!!
Not working !