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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

galleries with sub cats

Thread began 7/25/2016 8:14 am by Jamie | Last modified 8/05/2016 1:13 pm by Jamie | 203 views | 25 replies

Jamie

OK, sorry to be a pain but let me try again and break it down as I just cant afford a prem ticket right now :(

I have an image insert (using table gallery_category) where I need to create a drop down which is populated with content from gallery_category_contents where CategoryID is equal to ProductContentsID (the key column) but where CategoryID does not equal 0 as that is a main category. I set up (but is clearly not working) the rs

<?php
$SubCatID = new WA_MySQLi_RS("SubCatID",$DBConnection,0);
$SubCatID->setQuery("SELECT * FROM gallery_category_contents WHERE CategoryID <> 0 AND CategoryID = ProductContentsID");
$SubCatID->execute();
?>



On top of that, I need to filter the above drop down so that only sub cats show for the relevant main cat (eg if the gallery is a weddings gallery, then only wedding sub cats will show)

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