close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

One to many query

Thread began 10/31/2010 6:20 am by twitchr377598 | Last modified 11/03/2010 6:52 am by twitchr377598 | 2653 views | 11 replies

twitchr377598

I'm sure my explanations are confusing...maybe a look at my structure will help. Maybe what I'm asking can't be done or my db structure is incorrect.

venue_user_access table:

userID | venueID
116 | 65
116 | 66
114 | 65
etc | etc

venues table:

venueID | venueMasterID | venueName | other columns with venue info
65 | 113 | My Club | blah blah blah etc
66 | 113 | Club 2 | blah blah


The page I'm doing this query on is a page to update the user's (in my test case userID 116) access to clubs owned by venueMasterID 113. On the insert page I used one of the extensions (can't remember which one) to repeat and insert some checkboxes that contained the clubs owned by venueMasterID 113. Now I would like to generate the checkboxes on the update user page based on clubs owned by venueMasterID 113 and have the ones that userID 116 has access to show up as checked and the other ones unchecked.

Seems like a simple doable thing, but it's been a hair puller haha.

Again, the help is certainly appreciated.

-Twitch

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...