[PHP]idiorm #4 raw_query
try{ $sql = "SELECT * FROM shops WHERE name LIKE ? OR name LIKE ?"; $words = array("%銀座%","%御徒町%"); $items = ORM::for_table('shops')->raw_query($sql,$words)->find_array(); }catch (PDOException $e){ return null; } return $items;