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

(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 = 33528 GROUP BY event_id) pts LEFT JOIN (SELECT event_id, SUM(points) AS points FROM participation_points WHERE player_id = 33528 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 = 33528 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
08/21/2016 VFW Post 486 - $300 GTD **RELOAD** + BPO TOKENS 10 - S.CST
08/12/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 95 7 S.CST
08/07/2016 VFW Post 486 - $300 GTD **RELOAD** + BPO TOKENS 121 2 S.CST
08/05/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
07/29/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 61 12 S.CST
07/22/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
07/12/2016 *7/12* PNC TUESDAYS- $300 Guaranteed! *BPO Tokens* 67 10 S.MA
07/06/2016 Wednesdays SMA- $300 GTD + BPO TOKENS! 66 11 S.MA
06/22/2016 Wednesdays SMA- $300 GTD + BPO TOKENS! 48 15 S.MA
06/10/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
06/05/2016 VFW Post 486 - $300 GTD **RELOAD** + BPO TOKENS 10 - S.CST
05/29/2016 VFW Post 486 - $300 GTD **RELOAD** + BPO TOKENS 10 - S.CST
04/29/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 101 5 S.CST
04/22/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
04/20/2016 Wednesdays SMA- $300 GTD + BPO TOKENS! 66 11 S.MA
03/25/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
03/24/2016 Chuck's China Inn - $ 200 GTD DS/DP w/KO 10 - S.CST
03/18/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 62 12 S.CST
03/04/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
02/26/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
01/15/2016 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 57 13 S.CST
11/27/2015 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
08/28/2015 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 60 13 S.CST
08/05/2015 Wednesdays SMA- $300 GTD + BPO TOKENS! 10 - S.MA
07/29/2015 Wednesdays SMA- $300 GTD + BPO TOKENS! 10 - S.MA
07/22/2015 Wednesdays SMA- $300 GTD + BPO TOKENS! 91 8 S.MA
07/10/2015 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
07/03/2015 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 75 9 S.CST
06/26/2015 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
05/22/2015 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 89 8 S.CST
05/15/2015 Fridays @ VFW 486-- $400GTD+ BPO TOKENS! 10 - S.CST
04/22/2015 Wednesdays SMA- $300 GTD + BPO TOKENS! 10 - S.MA
02/18/2015 Wednesdays SMA- $300 GTD + BPO TOKENS! 10 - S.MA
05/15/2008 Wednesdays SMA- $300 GTD + BPO TOKENS! 10 - S.MA
05/05/2008 Christopher's 10 - S.MA