RL
RT
RCF
Reset
ST
Up Teams
TEST
thjis is a test
Array
(
[total_goals] => 79
[total_home_goals] => 46
[total_away_goals] => 33
)
SELECT
events.id,events.time,events.home_team,events.away_team,events.status,events.statistics,events.league,events.has_agg,events.agg_event,
stats.home_goals,stats.home_goals_et,stats.home_goals_pen,
events.time_45,events.time_90,
stats.away_goals,stats.away_goals_et,stats.away_goals_pen,
stats.time as game_time,
events.txt_file_updated,events.round,
events.home_full_stats,events.away_full_stats,
events.group_id,
ht.name as home_name,at.name as away_name,
ht.team_data_updated as home_updated,at.team_data_updated as away_updated,
ht.logo as home_logo,at.logo as away_logo,leagues.international,
leagues.name as league_name,leagues.name_off as lno,
leagues.id as league_id,leagues.type,leagues.abv as league_abv ,leagues.list_order,
leagues.fixtures_updated,
country.name as country_name,country.id as country_id,
league_groups.name as group_desc,
seasons.reg_fixtures,seasons.fixtures
FROM events
LEFT JOIN statistics_v2 as stats
ON stats.event_id=events.id
LEFT JOIN seasons
ON seasons.id=events.season
LEFT JOIN ( SELECT fixtures_updated,name,name_off,id,type,abv,list_order,country,active,international FROM leagues ) leagues
ON leagues.id=events.league
LEFT JOIN league_groups
ON league_groups.id=events.group_id
INNER JOIN teams ht
ON ht.id=events.home_team
INNER JOIN teams at
ON at.id=events.away_team
INNER JOIN country
ON leagues.country=country.id
WHERE (( events.time BETWEEN 1773360000 AND 1776988799 ) OR ( events.status='1H' OR events.status='HT' OR events.status='2H' )) AND events.status!='PST' AND events.status!='FT' AND events.status!='AET' AND events.status!='PEN' AND events.league='962' AND leagues.active='yes' AND stats.type='full' AND events.season='469' ORDER BY events.time ASC
row counr = 30
No more live evens Showing all! ( Refresh to see all events )
For some teams we don't have league data!.. Sorry
top results = 6
SELECT
events.id,events.time,events.home_team,events.away_team,events.status,events.statistics,events.league,events.has_agg,events.agg_event,
stats.home_goals,stats.home_goals_et,stats.home_goals_pen,
events.time_45,events.time_90,
stats.away_goals,stats.away_goals_et,stats.away_goals_pen,
stats.time as game_time,
stats.homeCorners,stats.homeYellowCards,stats.homeRedCards,
stats.awayCorners,stats.awayYellowCards,stats.awayRedCards,
stats.home_goals_halftime,stats.away_goals_halftime,
stats.homePossession,stats.awayPossession,
events.txt_file_updated,events.round,
events.home_full_stats,events.away_full_stats,
events.group_id,
ht.name as home_name,at.name as away_name,
ht.team_data_updated as home_updated,at.team_data_updated as away_updated,
ht.logo as home_logo,at.logo as away_logo,leagues.international,
leagues.name as league_name,leagues.name_off as lno,
leagues.id as league_id,leagues.type,leagues.abv as league_abv ,leagues.list_order,
leagues.fixtures_updated,
country.name as country_name,country.id as country_id,
league_groups.name as group_desc,
seasons.reg_fixtures,seasons.fixtures,
stats.homeTotalShots,stats.awayTotalShots,
stats.homeShotsOn,stats.awayShotsOn,
stats.homeFouls,stats.awayFouls,
hts.ppg as home_ppg,ats.ppg as away_ppg
FROM events
LEFT JOIN statistics_v2 as stats
ON stats.event_id=events.id
LEFT JOIN seasons
ON seasons.id=events.season
LEFT JOIN ( SELECT fixtures_updated,name,name_off,id,type,abv,list_order,country,active,international FROM leagues ) leagues
ON leagues.id=events.league
LEFT JOIN league_groups
ON league_groups.id=events.group_id
LEFT JOIN teams ht
ON ht.id=events.home_team
LEFT JOIN teams at
ON at.id=events.away_team
LEFT JOIN new_team_stats_v2 hts
ON hts.team=events.home_team AND hts.league=leagues.id AND hts.location='All' AND hts.duration='All' AND hts.season=seasons.id
LEFT JOIN new_team_stats_v2 ats
ON ats.team=events.away_team AND ats.league=leagues.id AND ats.location='All' AND ats.duration='All' AND ats.season=seasons.id
LEFT JOIN country
ON leagues.country=country.id
WHERE events.time BETWEEN 1772150400 AND 1773446399 AND seasons.current='1' AND events.league='962' AND events.status IN ('FT','AET','PEN') AND leagues.active='yes' AND stats.type='full' ORDER BY events.time DESC
12:00 27th 02 2026 - 12:00 13th 03 2026
result count = 20
Sligo Rovers
1
1
0 - 2
7
7 (1)
Shamrock Rovers
St Patrick's Athl.
1
3
4 - 1
1
2
Drogheda United
Dundalk
0
9
5 - 0
5
2
Waterford
Bohemians
2
10
1 - 0
1
1
Galway United
Derry City
0
7
1 - 2
2
2
Shelbourne
Dundalk
0
9
5 - 0
5
2
Waterford
Shelbourne
2
5
2 - 2
4
3
Shamrock Rovers
Sligo Rovers
2
5
2 - 1
3
2
Drogheda United
Shelbourne
4
5
2 - 3
6
2
St Patrick's Athl.
Shamrock Rovers
0
5
1 - 0
7
4
Derry City
Waterford
0
7
0 - 1
6
1
Bohemians
Waterford
0
7
0 - 1
6
1
Bohemians
Galway United
3
3
2 - 2
10
1
Dundalk
St Patrick's Athl.
2
8
1 - 0
3
1
Galway United
Bohemians
2
6
3 - 2
7
4
Shamrock Rovers
Drogheda United
3
2
1 - 2
7
4
Shelbourne
Galway United
1
4
1 - 0
2
2
Sligo Rovers
Derry City
1
7
4 - 2
2
2
Waterford
St Patrick's Athl.
3
4
4 - 0
7
1
Dundalk
Derry City
1
7
4 - 2
2
2
Waterford
row counbt => 180
tablerow counbt => 0Array
(
)
SELECT group_id,MAX(mycount)
FROM (
SELECT id,group_id, COUNT(group_id) AS mycount
FROM events WHERE
events.league='962' AND events.season='469' GROUP BY group_id ) events
THSI NEEDDSSSSS SORTING FOR NEW LEAGUES WITH NO DATA <--------------------
Array
(
[0] => Array
(
[group_id] => 619
[MAX(mycount)] => 180
)
)
dd count = 1
Array
(
[619] => Array
(
[0] => Array
(
[position] => 1
[id] => overall
[played] =>
[win] =>
[draw] =>
[loss] =>
[points] =>
[for] =>
[against] =>
[goaldifference] =>
[over25] =>
[scored2plus] =>
[btts] =>
[corners] =>
[corners_for] =>
[corners_against] =>
[cards] =>
[cards_for] =>
[cards_against] =>
[goal_counts] =>
[corner_counts] =>
[card_counts] =>
[goal_overs] =>
[corner_overs] =>
[card_overs] =>
[no_stats] =>
[form] =>
)
[1] => Array
(
[position] => 2
[id] => home
[played] =>
[win] =>
[draw] =>
[loss] =>
[points] =>
[for] =>
[against] =>
[goaldifference] =>
[over25] =>
[scored2plus] =>
[btts] =>
[corners] =>
[corners_for] =>
[corners_against] =>
[cards] =>
[cards_for] =>
[cards_against] =>
[goal_counts] =>
[corner_counts] =>
[card_counts] =>
[goal_overs] =>
[corner_overs] =>
[card_overs] =>
[no_stats] =>
[form] =>
)
[2] => Array
(
[position] => 3
[id] => away
[played] =>
[win] =>
[draw] =>
[loss] =>
[points] =>
[for] =>
[against] =>
[goaldifference] =>
[over25] =>
[scored2plus] =>
[btts] =>
[corners] =>
[corners_for] =>
[corners_against] =>
[cards] =>
[cards_for] =>
[cards_against] =>
[goal_counts] =>
[corner_counts] =>
[card_counts] =>
[goal_overs] =>
[corner_overs] =>
[card_overs] =>
[no_stats] =>
[form] =>
)
)
)
finshed events = 30
team count = 1
619
We currently don't have offical ordering of this league, it's currenlty being ordered by (Points, Goal Difference, Goals Scored)
619
We currently don't have offical ordering of this league, it's currenlty being ordered by (Points, Goal Difference, Goals Scored)
619
We currently don't have offical ordering of this league, it's currenlty being ordered by (Points, Goal Difference, Goals Scored)
Scores
Table data
return_data