All pastes #897918 Raw Edit

Mine

public text v1 · immutable
·published 2008-02-09 22:43 UTC
rendered paste body
// Search for item in DB
$items = new Item();
	
$where = array('item_title LIKE ?' => '%'.urldecode($this->_getParam('item')).'%',
	'item_platform = ?' => urldecode($this->_getParam('platform')),
	'item_scraped_from != ?' => 'user'
); 

$select = $items->select()->where($where);

$results = $items->fetchAll($select);