guyzz help me out here plzzz
i have a set of values example
$v=2,4
these values may go upto 4 or 5 values separated by comma.
i want to find these exact set from a table whose field(technology) has the values as shown in the pic.
guyzz help me out here plzzz
i have a set of values example
$v=2,4
these values may go upto 4 or 5 values separated by comma.
i want to find these exact set from a table whose field(technology) has the values as shown in the pic.
Is that an [font="Courier New"]ENUM[/font] or [font="Courier New"]SET[/font]?
Try:
ModelName::model()->findAllByAttributes(array('technology' => $v));
Of course $v must be string.