close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Blocking data from sql table from showing up

Thread began 11/08/2012 11:51 am by mora398588 | Last modified 11/08/2012 11:53 am by Jason Byrnes | 624 views | 1 replies |

mora398588

Blocking data from sql table from showing up

I have a sql database which includes a table of data where we keep detailed information on all our workshops. As we go into next year, there are certain workshops that we will not be offering.

We have used DA to organize our workshops on our website for the public to access. However, I am uncertain how to keep the workshops that we are not offering next year from showing up on the webpage.

Of course, DA is pulling the data from our sql database table. Is there a way, using DA, to block out some of the workshops without deleting the data (workshops) from the table?

Here is a link of our workshop page...seminars.php

Note - each workshop has its own "PresentID" which identifies it.

Thank you.

Sign in to reply to this post

Jason ByrnesWebAssist

add a new column to the table for status.

for active workshops, set the value of this column to 1, for non active use 0.

in the query that returns the workshops, add a where clause:

WHERE status = 1

to return only active workshops.

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