user will raise the request i want to restrict the user request to show only who raise the request, and admin should approve or reject,
help me
Thanks in advance
user will raise the request i want to restrict the user request to show only who raise the request, and admin should approve or reject,
help me
Thanks in advance
If I understand you properly you need add tiny int column status
default 0.
0 - request not yet approved
1 - request approved
2 - request disapproved
And modify your SQL-query to show request only if user_id=current_user_id or status=1.
I think that will work for you.