close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

if statement hiding more than it should....

Thread began 12/19/2017 8:01 am by Jamie | Last modified 12/20/2017 2:03 pm by Jamie | 49 views | 1 replies

Jamie

if statement hiding more than it should....

Hey Ray

On this page http://clients.motley.site/ebc/case-studies.php there should be 3 case studies visible but only 2 are showing.

In the back end, I have a testimonials section which is standalone in its own rght as well as a case study section which also includes a drop down where the user can select a testimonial they want to associate with the case study.

In the drop down, 'no testimonial' = 0 whilst the list of testimonials, if selected, will add their TestimonialID value from the testimonial table into the case_study column CaseTestimonialID

On the front end, the odd thing that is happening is if the casestudy CaseTestimonialID = 0, then the whole case study does not show when all t shold be doing is hiding the empty elements of the testimonial.

Have attached the page

cool story bro

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