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

CSS FOrm builder and displaying depending on the array help

Thread began 12/10/2010 12:08 am by Miguel | Last modified 12/10/2010 11:13 am by Miguel | 1021 views | 1 replies

Miguel

CSS FOrm builder and displaying depending on the array help

Hello comunity i have been trying to combine the use of each tool of the super suit this time im making a module to control banners i used data assist to mkae the manager page then used css form builder to change the insert and update page, now on this banner module i have

ID (int 11)
Banner_name (VARCHAR 100)
Banner_File (VARCHAR 100)
Position (TINYINT 1)
Section (VARCHAR 100)
Activite (TINYINT 1)

on the section i used the group checkbox so i can choose if the banner should display on one or many sections example

Section home, Section aboutus, Section articles and so on i gave each section a numeric value so in the section colum it will store as 1,4,5 for example

Until here following the forum post on how to insert group checkbox with explode and all that runs ok, but now im stuck on how i can tell each section wich banner it should show

i created on top of each section a variable that i gave a number same as the checkbox in the manager part i made

how can i tell it to check for the last banner that has section with its number how can i filter that in a query i dunno if its understandable any help to point me the way would be apreciated.

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