Hi guys,
I have a situation with a checkbox field called course_type. For 95% of the hospitality courses in the database, I just present the result of this checkbox selection:
<?php echo $hospitalityRecord['course_type'] ?>
We have a rare situation that if the checkbox "Post Secondary Courses" AND "International Student Courses" are selected, we would like it to display "This course is available to both Local & International Students"
I started mucking around with it and got this far:
<?php if ($hospitalityRecord['course_type' = "Post Secondary Courses" and "International Student Courses"]): ?>
This course is available to both Local & International Students
else <?php echo $hospitalityRecord['course_type'] ?>
<?php endif ?>
Are you able to assist with the correct code?
Thanks,
Benedict