close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

multiple results on 1 page

Thread began 2/04/2010 12:13 pm by mr hankey | Last modified 2/05/2010 3:51 pm by mr hankey | 2160 views | 8 replies

mr hankey

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

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...