21/03/2012 3:44pm

PHP | Problem -


#############1#################

$resultSet = DataObject::get(
$callerClass = 'Prospekt',
$filter = $dofilter,
$sort = 'date_to',
$join = '',
$limit = $limit
);

##################2###########
$sqlQuery = new SQLQuery();
$sqlQuery->select = array("Prospekt.ID,Prospekt.Document_id, Prospekt.InfoText,Market.URLSegment");
$sqlQuery->from = array("Prospekt
Left Join Market on Market.ID=Prospekt.MarketID");
$sqlQuery->where = array($dofilter);
$sqlQuery->orderby('date_to');
$sqlQuery->limit($limit);
$result2 = $sqlQuery->execute();


Post Comment