show repeat table for only that client php
hi,
i have created a back end system, user can login and add a client and it auto assigns to that user. i have a page where you can view the clients details and add a product to him.
only problem is when i add a product every clients personal details page can see the other clients products purchased.
i have a recordset on my page showing products in a repeat table. how could i bind/session variables to filter that for that clientid only can you see his products.
so say clientid 1 when you click in this clients and see repeat table only see his products.
same for clientid2 only see clientid 2's products and not clientid 1 's products.
hope this makes sense.
many thanks