(mysqli): SELECT * FROM cms LIMIT 1  

(mysqli): SELECT code FROM menus WHERE type ='tree'  
Eastern Poker Tour

(mysqli): SELECT p.first, opt.nickname FROM player p LEFT JOIN player_opt opt ON p.id = opt.player_id WHERE p.id = 37547  

(mysqli): SELECT pts.points as points, bonus_p.points as ppts, bonus_b.points as bpts, pts.action, e.date as date, e.points_multiplier as points_multiplier, e.id as eid, e.name as ename, t.id as tid, t.nickname as tname, t.abbreviation as tabbr, l.id as lid, l.name as lname FROM (SELECT event_id, SUM(points) AS points, SUBSTRING_INDEX(GROUP_CONCAT(action ORDER BY points DESC, id ASC), ',', 1) AS action, MAX(id) AS sort_id FROM player_pts WHERE player_id = 37547 GROUP BY event_id) pts LEFT JOIN (SELECT event_id, SUM(points) AS points FROM participation_points WHERE player_id = 37547 GROUP BY event_id) bonus_p ON bonus_p.event_id = pts.event_id LEFT JOIN (SELECT event_id, SUM(points) AS points FROM bounty_points WHERE player_id = 37547 GROUP BY event_id) bonus_b ON bonus_b.event_id = pts.event_id LEFT JOIN event e ON e.id = pts.event_id LEFT JOIN tournament t ON t.id = e.tournament_id LEFT JOIN location l ON l.id = e.location_id ORDER BY e.date DESC, pts.sort_id DESC  
DATE LOCATION PTS RNK TOURNAMENT
11/28/2025 Walpole VFW 10 - CHAR
05/03/2025 Walpole VFW 10 - CHAR
06/27/2024 Walpole VFW 10 - CHAR
06/15/2024 Walpole VFW 10 - CHAR
12/23/2023 Walpole VFW 87 8 CHAR
10/19/2023 Walpole VFW 45 15 CHAR
06/22/2023 Walpole VFW 89 8 CHAR
04/22/2023 Walpole VFW 49 14 CHAR
04/20/2023 Walpole VFW 64 11 CHAR
04/15/2023 Walpole VFW 98 6 CHAR
03/16/2023 Walpole VFW 10 - CHAR
01/26/2023 Walpole VFW 86 8 CHAR
01/07/2023 Walpole VFW 10 - CHAR
12/15/2022 Walpole VFW 10 - CHAR
12/01/2022 Walpole VFW 115 3 CHAR
11/25/2022 BPO AC Travel Satellite 10 - CHAR
11/17/2022 Walpole VFW 10 - CHAR
06/02/2022 Walpole VFW 10 - CHAR
05/07/2022 Walpole VFW 10 - CHAR
04/30/2022 $150 DEEPSTACK! 10 - CHAR
04/21/2022 Walpole VFW 10 - CHAR
03/10/2020 RT 9 Sports Bar | $300 GTD RELOAD 42 15 FRAM
03/07/2020 $40 BPO TRAVEL SATELLITE @ Walpole VFW 10 - CHAR
03/06/2020 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
03/03/2020 RT 9 Sports Bar | $300 GTD RELOAD 99 5 FRAM
03/01/2020 The Westender- $200 GTD Reload Special! 69 10 FRAM
02/28/2020 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
02/16/2020 The Westender- $200 GTD Reload Special! 10 - FRAM
02/09/2020 The Westender- $200 GTD Reload Special! 62 11 FRAM
01/31/2020 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
01/28/2020 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
01/14/2020 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
01/10/2020 Am Vets Post 79-- $300 Guaranteed! 46 14 FRAM
01/05/2020 The Westender- $200 GTD Reload Special! 121 2 FRAM
01/03/2020 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
12/20/2019 Am Vets Post 79-- $300 Guaranteed! 49 13 FRAM
12/07/2019 $10,000 Monthly Championship 96 11 CHAR
11/26/2019 RT 9 Sports Bar | $300 GTD RELOAD 136 1 FRAM
11/24/2019 The Westender- $200 GTD Reload Special! 10 - FRAM
11/22/2019 Am Vets Post 79-- $300 Guaranteed! 61 11 FRAM
11/10/2019 The Westender- $200 GTD Reload Special! 10 - FRAM
11/09/2019 $10,000 Monthly Championship 10 - CHAR
10/29/2019 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
10/25/2019 Am Vets Post 79-- $300 Guaranteed! 129 1 FRAM
10/18/2019 Am Vets Post 79-- $300 Guaranteed! 88 7 FRAM
10/15/2019 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
10/13/2019 The Westender- $200 GTD Reload Special! 10 - FRAM
10/08/2019 RT 9 Sports Bar | $300 GTD RELOAD 62 11 FRAM
09/24/2019 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
09/03/2019 RT 9 Sports Bar | $300 GTD RELOAD 73 9 FRAM
08/25/2019 The Westender- $200 GTD Reload Special! 10 - FRAM
08/20/2019 RT 9 Sports Bar | $300 GTD RELOAD 37 16 FRAM
07/30/2019 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
07/09/2019 RT 9 Sports Bar | $300 GTD RELOAD 75 9 FRAM
06/25/2019 RT 9 Sports Bar | $300 GTD RELOAD 65 10 FRAM
06/11/2019 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
06/05/2019 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
06/04/2019 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
05/25/2019 $10,000 Guaranteed Payout! 50K Finals Seat Added 56 12 CHAR
05/14/2019 RT 9 Sports Bar | $300 GTD RELOAD 47 14 FRAM
05/10/2019 Am Vets Post 79-- $300 Guaranteed! 104 4 FRAM
05/08/2019 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
04/30/2019 RT 9 Sports Bar | $300 GTD RELOAD 44 15 FRAM
04/23/2019 RT 9 Sports Bar | $300 GTD RELOAD 42 15 FRAM
04/20/2019 ***CANCELLED 3/14****$40 BPO TRAVEL SATELLITE 10 - CHAR
04/12/2019 Am Vets Post 79-- $300 Guaranteed! 73 9 FRAM
03/27/2019 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
03/26/2019 RT 9 Sports Bar | $300 GTD RELOAD 124 2 FRAM
03/16/2019 ***CANCELLED 3/14****$40 BPO TRAVEL SATELLITE 67 12 CHAR
03/12/2019 RT 9 Sports Bar | $300 GTD RELOAD 127 2 FRAM
03/08/2019 Am Vets Post 79-- $300 Guaranteed! 93 6 FRAM
01/09/2019 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 36 16 FRAM
01/04/2019 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
11/14/2018 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
11/07/2018 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 114 3 FRAM
09/04/2018 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
08/03/2018 Am Vets Post 79-- $300 Guaranteed! 49 14 FRAM
07/20/2018 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
07/14/2018 $10,000 Monthly Championship 10 - CHAR
06/26/2018 RT 9 Sports Bar | $300 GTD RELOAD 118 3 FRAM
06/08/2018 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
06/01/2018 Am Vets Post 79-- $300 Guaranteed! 134 1 FRAM
05/18/2018 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
05/04/2018 Am Vets Post 79-- $300 Guaranteed! 10 - FRAM
12/20/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 86 8 FRAM
11/12/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
11/05/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
10/22/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
10/15/2017 The Westender- $200 GTD Reload Special! 48 14 FRAM
10/08/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
09/17/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
09/10/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
08/20/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
07/24/2017 The Westender- $200 GTD! 57 12 FRAM
07/17/2017 The Westender- $200 GTD! 102 5 FRAM
07/10/2017 The Westender- $200 GTD! 10 - FRAM
07/05/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
06/18/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
06/07/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 40 16 FRAM
06/04/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
05/21/2017 The Westender- $200 GTD Reload Special! 128 2 FRAM
05/14/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
05/01/2017 The Westender- $200 GTD! 73 9 FRAM
04/23/2017 The Westender- $200 GTD Reload Special! 91 8 FRAM
04/17/2017 The Westender- $200 GTD! 91 7 FRAM
03/26/2017 The Westender- $200 GTD Reload Special! 10 - FRAM
03/01/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 57 13 FRAM
02/01/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM