filter SQL query by where ID=$_Session(ID)
filter SQL query by where ID=$_Session(ID)
kasun w
Posts: 1Questions: 1Answers: 0
I need to get table data only related to session ID. That means show data specific to a logged user.
How can i do this with datatable?
filter SQL query by where ID=$_Session(ID).
When i put this to fetch.php file. it give error.
"processing":true,
"serverSide":true,
"order":[],
"ajax":{
url:"fetch.php",
type:"POST"
},
This discussion has been closed.
Answers
What are you using for your fetch.php script? Have you written the server-side processing code for that, or using a library from somewhere? That is where the condition would need to be added since you are using server-side processing.
Allan