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

Table Relationships

Thread began 5/26/2009 8:31 am by Suggs | Last modified 10/21/2009 6:40 pm by Jason Byrnes | 1267 views | 5 replies |

Suggs

Table Relationships

hi Folks,
Im putting this help request out to the community as ive burned up a lot of hours trying to solve the issue.
Im currently building a furniture commerce site in php using the Super Suite and have information stored in multiple mySQL tables that I would like to pull into the results.
Im looking to pull in the information for a particular range from 1 table called prodrange and the associated products in this particular range from a table called products
The field im referencing to is ProdRangeID in both tables.
I need to be able to choose a range and have the ranges' associated products display on a page.
I can do this without issue if everything was stored in a single table but for practical reasons i need to have multiple tables working in relation to each other.
Do I need to create a variable above what Dataassist generates in order for this to work?

Any help will be greatly received and a virtual beer sent on to you from me. :-)

Thanks

Suggs

Sign in to reply to this post

Nigel

Join the Tables

You need to join the two tables. In advanced view edit the query to join the tables, it would be something like this, where X is your ProdRangeID value:

SELECT *
FROM products INNER JOIN prodrange ON products.ProdRangeID = prodrange.ProdRangeID
WHERE prodrange.ProdRangeID = X

HTH.

Sign in to reply to this post

DMCKIB339504

DataAssist SecurityAssist Cannot to MySQL Tables

I created a CSS Form, added Mail. Changed to post. Beautiful page yet whenever I start DataAssist or SecurityAssist to connect to MySQL (which I have gone through hosting and all database are ok as well as tables)

Yet I cannot pull up tables in Dreamweaver cs4. Vista.

My goal is to have form emailed and fill information sent to MySQL tables. Everything looks great, but connects to MySQL and does not show Tables.

You are my last connection as all see everything on their end is ok.

What am I missing to pull up tables?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

We will need some more details on the problem.

Do you get an error message when you open DataAssist or SecurityAssist?

Have you created a Database Connection in Dreamweaver?

In the Database Connection window, what happens when you click the test button? Does it test OK?


If so, on the database tab, expand the connection, then expand the tables, are the table listed here?


Is your site definition created properly? See the following for information on crteating a Dreamweaver site definition:
151/

If you are using a remote server for your testing, you may want to consider using a local server:
144/

Sign in to reply to this post

DMCKIB339504

DataAssist SecurityAssist Mysql No Tables

Yes everything connects to Dreamweaver cs4 all is ok in every way except when I start DataAssist or SecurityAssist it shows database, but cannot connect because of lack of tables. I have reinstalled many times yet error continues. The CSS Form builders form is awsome online, but I cannot get it to connect to the MySQL Tables.

I have done extensive renaming of tables and users and passwords, but nothing works. Email also works. Through all my research, something comes down to an error or lack of a number from the addition of form and email.

Server is ok. Something in the way the software puts it together is the problem as it started when these were added.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into the problem further.

To view your support ticket, log into your support history:
supporthistory.php

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