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