Advertisement
Advertisement

espanoles-resumen-anual

findRecords($params);
while ($tour->fetchRecord()) : ?>
get_field(‘name’);
?>

findRecords($params);
while ($jugadores->fetchRecord()) :
$jugador_name= $jugadores->get_field(‘name’);
$jugador_slug = $jugadores->get_field(‘slug’);
$pods = new Pod(‘resultados’);
$params = array();
$params[‘select’] = ‘sum(t.euros) as total’;
$params[‘limit’] = -1;
$wherestr = ‘t.year = “‘ . $tour_year . ‘” AND jugador.name = “‘ . $jugador_name . ‘”‘;
$params[‘where’] = $wherestr;
$pods->findRecords($params);

while ($pods->fetchRecord()) :
$total_acum = $pods->get_field(‘total’); ?>