Question
How can I filter which records are displayed in my dynamic table?
I have what I think is probably an easy question for anyone
who is experienced with PHP/MySQL and Dreamweaver (which I am not).
I have a website where users login, and then have access to their homepage which displays a dynamic table of all of the records that they have inserted into a database (this page also has a link to the form where they submit a record). However, right now I can only get to display all records that have been inserted instead of only the ones that they have inserted (which is what I want). How can I accomplish this?
I already have a session variable, 'MM_username', which allows me to bind the user_ID to anything I need to, and when a user inserts a record, their 'user_ID' is already inserted into a column in that record for that table, so I'd like to display the dynamic table in a way that filters it out so it only shows the records that match the logged-in user's 'user_ID'.
I've tried to use the filter function in the recordset dialog box, nut I just can't get it to work correctly. Any help on this would be much appreciated!
I have a website where users login, and then have access to their homepage which displays a dynamic table of all of the records that they have inserted into a database (this page also has a link to the form where they submit a record). However, right now I can only get to display all records that have been inserted instead of only the ones that they have inserted (which is what I want). How can I accomplish this?
I already have a session variable, 'MM_username', which allows me to bind the user_ID to anything I need to, and when a user inserts a record, their 'user_ID' is already inserted into a column in that record for that table, so I'd like to display the dynamic table in a way that filters it out so it only shows the records that match the logged-in user's 'user_ID'.
I've tried to use the filter function in the recordset dialog box, nut I just can't get it to work correctly. Any help on this would be much appreciated!
