Part 13 - Admin View Pin Request

So now we have our admin area with some secure functionality. We will move forward after part 10 where the user has successfully sent the pin request and view it. We left the further work there because we had needed an admin area that can manage all these things.

To view the pin request will create a table similar to user panel. But in this table admin will have the option to either send the pin or cancel the request depending on the payment status or whatever admin have criteria to accept the pin request, it's all up to your requirements. So let's start.

Create a page view-pin-request.php. You can copy the admin's home page and rename it.

Now take 6 column attributes like S.n, Userid, Amount, Date, Send and Cancel.

Run PHP query to fetch all the request.

Understand the code from the video and you can copy the code, given below.