close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

to php/mysql gurus

Thread began 10/11/2011 10:54 am by biz295654 | Last modified 10/11/2011 11:57 am by biz295654 | 664 views | 3 replies |

biz295654

to php/mysql gurus

Reaching out to the php guys/gals on the list. I am using PowerMessenger database. My client wants a page that lists the members of each mailinggroup (committees).

So, setting up (in DW) a repeat region, tying record sets. I'm close but not there yet.

So, in PM, there are 3 tables:
pm1_users that uses UserID
pm1_groupsubscriptions that uses UserID and GroupID
pm1_mailingroups that uses GroupID

So I want to show all the users in a a particular mailinggroup.

SELECT *
FROM pm1_groupsubscriptions, pm1_users
WHERE GroupID = 10

(10 = one of the mailinggroups)

That isn't enough to get there. That shows everyone.

Brain freeze.

Any help, most appreciated.

Sign in to reply to this post

Ray BorduinWebAssist

SELECT *
FROM pm1_groupsubscriptions
INNER JOIN pm1_users ON pm1_users.UserID = pm1.groupsubscriptions.UserID
WHERE GroupID = 10

Sign in to reply to this post

biz295654

thanks so much, Ray.

It gave up a msql error

Unknown column 'pm1.groupsubscriptions.UserID' in 'on clause'

Sign in to reply to this post

biz295654

ah... just a . instead of underscore...thanks!

Sign in to reply to this post

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