(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 = 33419  

(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 = 33419 GROUP BY event_id) pts LEFT JOIN (SELECT event_id, SUM(points) AS points FROM participation_points WHERE player_id = 33419 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 = 33419 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
02/29/2024 Bar League PRO - Online Club 49 13 ONL
02/24/2024 Walpole VFW 103 5 CHAR
02/22/2024 Bar League PRO - Online Club 91 6 ONL
02/15/2024 Bar League PRO - Online Club 86 7 ONL
02/10/2024 $10,000 Monthly Championship 10 - CHAM
01/27/2024 Saturday @ PNC Club 12:30-$300 GTD PAYOUT + BPO Tokens! 118 3 S.MA
01/25/2024 Bar League PRO - Online Club 44 14 ONL
01/23/2024 Bar League PRO - Online Club- Tuesday 96 5 ONL
01/20/2024 Saturday @ PNC Club 12:30-$300 GTD PAYOUT + BPO Tokens! 50 14 S.MA
03/02/2019 $150 DEEPSTACK! 10 - CHAR
02/10/2018 Framingham Elks | Tuesday | $300 GTD + BPO TOKENS! 89 7 FRAM
12/27/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 114 3 FRAM
12/23/2017 Framingham Elks | Tuesday | $300 GTD + BPO TOKENS! 55 12 FRAM
12/19/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
12/13/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 67 10 FRAM
12/02/2017 Framingham Elks | Tuesday | $300 GTD + BPO TOKENS! 10 - FRAM
11/28/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
11/21/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
11/14/2017 RT 9 Sports Bar | $300 GTD RELOAD 115 3 FRAM
11/07/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
11/01/2017 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 37 16 FRAM
10/31/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
10/30/2017 The Westender- $200 GTD! 10 - FRAM
10/24/2017 RT 9 Sports Bar | $300 GTD RELOAD 97 6 FRAM
10/23/2017 The Westender- $200 GTD! 106 4 FRAM
10/17/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
10/03/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
09/19/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
09/12/2017 RT 9 Sports Bar | $300 GTD RELOAD 47 14 FRAM
09/05/2017 RT 9 Sports Bar | $300 GTD RELOAD 10 - FRAM
03/04/2017 $200 GTD Italian Vets - 12:30 PM (Sat) 10 - C.MA
02/24/2017 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
02/20/2017 Millerville Monday | $300 GTD + BPO TOKENS! 10 - C.MA
02/18/2017 $200 GTD Italian Vets 3pm (sat) 10 - C.MA
01/06/2017 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
12/23/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
12/09/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
12/04/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
12/02/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
11/25/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
11/12/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 56 12 C.MA
11/10/2016 Legends - $300 GTD Payout + BPO Tokens! 10 - C.MA
11/03/2016 Legends - $300 GTD Payout + BPO Tokens! 10 - C.MA
10/22/2016 $60 Cheapstack @ Norwood Elks 10 - CHAR
10/19/2016 Ev'rybody's Pub | $300 GTD | BPO TOKENS 10 - RI
10/15/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 10 - C.MA
10/14/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
10/05/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
09/28/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
09/04/2016 The Westender- $200 GTD Reload Special! 94 6 FRAM
08/31/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
06/04/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 50 13 C.MA
05/13/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
05/04/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
05/01/2016 $30K CHAMPIONSHIP (FINALS) 10 - CHAM
04/30/2016 $30K FINALS CHAMPIONSHIP (POINTS) 10 - CHAM
04/26/2016 ITAM **NEW SPOT**- $300 GTD+ BPO TOKENS! 59 12 C.MA
04/23/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 10 - C.MA
04/22/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
04/16/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 85 8 C.MA
04/11/2016 Millerville Monday | $300 GTD + BPO TOKENS! 97 5 C.MA
04/10/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 54 13 C.MA
04/09/2016 $10,000 Monthly Championship 10 - CHAM
04/07/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 58 12 FRAM
04/02/2016 $200 GTD Italian Vets 3pm (sat) 10 - C.MA
03/30/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
03/28/2016 Millerville Monday | $300 GTD + BPO TOKENS! 116 3 C.MA
03/26/2016 $200 GTD Italian Vets 3pm (sat) 10 - C.MA
03/26/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 10 - C.MA
03/25/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 53 14 C.MA
03/24/2016 Legends - $300 GTD Payout + BPO Tokens! 10 - C.MA
03/20/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
03/19/2016 $200 GTD Italian Vets 3pm (sat) 10 - C.MA
03/19/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 10 - C.MA
03/16/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 52 14 FRAM
03/15/2016 ITAM **NEW SPOT**- $300 GTD+ BPO TOKENS! 118 3 C.MA
03/13/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
03/12/2016 $10,000 Monthly Championship 90 10 CHAM
03/11/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
03/10/2016 Legends - $300 GTD Payout + BPO Tokens! 10 - C.MA
03/05/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 108 4 C.MA
03/04/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
03/01/2016 ITAM **NEW SPOT**- $300 GTD+ BPO TOKENS! 102 5 C.MA
02/29/2016 Millerville Monday | $300 GTD + BPO TOKENS! 73 9 C.MA
02/28/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 63 11 C.MA
02/26/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
02/24/2016 *CANCELLED 2/17** ALUMNI 134 1 C.MA
02/22/2016 Millerville Monday | $300 GTD + BPO TOKENS! 10 - C.MA
02/21/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
02/20/2016 $200 GTD Italian Vets 3pm (sat) 10 - C.MA
02/20/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 10 - C.MA
02/19/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
02/18/2016 Legends - $300 GTD Payout + BPO Tokens! 10 - C.MA
02/16/2016 ITAM **NEW SPOT**- $300 GTD+ BPO TOKENS! 88 8 C.MA
02/15/2016 Millerville Monday | $300 GTD + BPO TOKENS! 10 - C.MA
02/15/2016 PRESIDENT'S DAY SUPERSTACK $600 GTD-SLAPSHOTZ 10 - S.MA
02/14/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
02/11/2016 Legends - $300 GTD Payout + BPO Tokens! 10 - C.MA
02/09/2016 ITAM **NEW SPOT**- $300 GTD+ BPO TOKENS! 108 4 C.MA
02/07/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
02/06/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 58 12 C.MA
02/04/2016 Legends - $300 GTD Payout + BPO Tokens! 58 12 C.MA
02/02/2016 ITAM **NEW SPOT**- $300 GTD+ BPO TOKENS! 10 - C.MA
02/01/2016 Millerville Monday | $300 GTD + BPO TOKENS! 116 2 C.MA
01/31/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
01/30/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 56 13 C.MA
01/30/2016 $200 GTD Italian Vets 3pm (sat) 10 - C.MA
01/28/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 10 - FRAM
01/27/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
01/23/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 44 15 C.MA
01/20/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
01/18/2016 PRESIDENT'S DAY SUPERSTACK $600 GTD-SLAPSHOTZ 10 - S.MA
01/14/2016 Caipy Sports Bar | $300 GTD + BPO TOKENS 68 10 FRAM
01/13/2016 $300 GTD--China Gourmet- 12:30 PM -25K/ BPO TOKENS! 10 - FRAM
01/10/2016 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
01/08/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
01/06/2016 *CANCELLED 2/17** ALUMNI 10 - C.MA
01/02/2016 $200 GTD Italian Vets - 12:30 PM (Sat) 71 10 C.MA
01/01/2016 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 119 3 C.MA
12/27/2015 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 125 3 C.MA
11/10/2015 ITAM **NEW SPOT**- $300 GTD+ BPO TOKENS! 10 - C.MA
08/23/2015 140 PUB---$400 Guaranteed--- RELOAD SPECIAL! 10 - C.MA
08/19/2015 *CANCELLED 2/17** ALUMNI 101 5 C.MA
07/19/2015 PNC Club @ SUNDAY | $300 GTD | 4:00PM FREE WEEK ADDED 10 - S.MA
07/17/2015 Pre 4th Of July- 50K Stack Special- $1000 GTD+ BPO TOKENS! 10 - C.MA
07/16/2015 Legends - $300 GTD Payout + BPO Tokens! 43 15 C.MA
02/04/2015 *CANCELLED 2/17** ALUMNI 35 16 C.MA
01/31/2015 $200 GTD Italian Vets - 12:30 PM (Sat) 10 - C.MA