Hi,
I'm building a simple Booking Request form and I want to populate a dropdown list with K2 Items (actually the 'title' of the item)
K2 items belong to various K2 categories so I use the DB Read action and in Conditions entered the code below:
<?php return array('published'=>'1', ":catid='32' OR catid='55' OR catid='71' OR catid='76'"); ?>
to fetch the K2 items from 3 categories and ONLY the "published" ones
But it doesn't work!!!
What am I doing wrong?
I'm building a simple Booking Request form and I want to populate a dropdown list with K2 Items (actually the 'title' of the item)
K2 items belong to various K2 categories so I use the DB Read action and in Conditions entered the code below:
<?php return array('published'=>'1', ":catid='32' OR catid='55' OR catid='71' OR catid='76'"); ?>
to fetch the K2 items from 3 categories and ONLY the "published" ones
But it doesn't work!!!
What am I doing wrong?