Skip to main content
Known Participant
February 5, 2010
Question

show repeat table for only that client php

  • February 5, 2010
  • 1 reply
  • 478 views

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

This topic has been closed for replies.

1 reply

David_Powers
Inspiring
February 6, 2010

If you know the client's ID, just use that to filter the recordset.

deansy55Author
Known Participant
February 6, 2010

hi david,

thanks but can you tell me how to do this within dreamweaver? talk me through the stepsas i thought i had done this, do i need to write any code in the recordset?

if you could tell me how to do this i would really appreciate.

many thanks

David_Powers
Inspiring
February 7, 2010

Show me how far you have got.