insert client problems
i am sure i have covered this before but i am having trouble with it:
i have a users tbl and client tbl
in client tbl i have a column users_clients which is foreign key between the 2
i have made this hidden in my insert page, i want it to auto associate with the user who has logged in that has added the client. How would i do this, as i then want to display that users results only in the results page.
so that user can only see his own and no one elses. hope you can help, i am trying to think is it to do with binding a session variable from the login page to this page and if so could you just walk me through the steps please?