how to filter values to show
how to filter values to show

Hi, i want to be able to filter the presented values based on the user that is logged in.
is there any way i can filter (mysql...ex:" where uid = 'ZZZ' ") the datatables load?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yeah just pass the user id (from the session most likely) variable as a parameter to the function that queries the database, and use it with 'WHERE uid = variable'
Thanks :-)