User permissions read for id row
User permissions read for id row
ramthas
Posts: 3Questions: 0Answers: 0
Good evening,
bad english, sorry ...
I would like to know if possible to display for each user table-line ID, only his data.
Example:
ID 12345 corresponds to user "batman"
ID 67891 corresponds to user "spider man"
Thus user 12345 (batman) can display ONLY the relative row
Possible?
This discussion has been closed.
Replies
You would apply a condition to whatever you are using to read the data from the data source. In the case of an SQL database you would use a
WHERE
condition to restrict it to the relevant data only for example.Allan
thank you allan
I do not know how to do this
What code / library are you currently using to read the information from the database?
Allan
WordPress + MySql + tablepress
I do not know anything else
I'm not sure either then I'm afraid. I don't know if TablePress offers a way to populate a table from a database or not. You'd need to contact the author of TablePress to get help with how the table is being populated.
Allan