hi jason,
thanks for that, i understand what you mean about giving a database overview. however as you can appreciate i have clients and i dont want to be posting every file up onto a public site where people could then see it.
the issue i am having is that i can add a client is a user, my site is this:
users login, users can add a client, once the client has been added the user can add products to this client.
what i have done so far is :
create the login page, insert_client page, clients reults page, clients details page, clients delete page.
when i login as myself and add a client and view the clients details page. i want to be able to have the clients results page to only allow the user who has logged the client see his.
in the clients details page i can see the clients details and on that page is where i have added the form to insert to the products table. i created a recordset on the page for the products table and i can insert into it. in the mysql database i can see the clients details and the userid properly given from the user who logged it.
aswel as this when i look in the product table i can see the client id for the appropriate client so it is working in the database correctly.
in my app though if i view the client details of client1 i can see in the products recordset repeat table the product details that were added for client 2.
only problem is i thought i binded the session variable correctly for username to userid. however all clients even if i never added them show my username assigned to but in database show the correct user id of 1 or 2.
i need your help to correct the userid to username issue, aswell as the issue of adding a product to client and it only showing in the repeat table of products only to that client not every clients products in every clients details.
if you can guide me through this i would appreciate it. i have tried adding recordsets, binding session variables that were created called clients_clientid to it but still not working. can i send you my files in any other way than posting everything here if you need it?
if you can guide me through an example even of what i am trying and i can substitute it to my situation.
basically all products will be added within the clients details page as i will have tabs on that page that will have "prooduct1", "product2" etc.
anything you can do. i added the dreamweaver insert record instead of the data assist one as it allowed me to insert into the product table with no problems.
many thanks