Severity: Notice
Message: Undefined index: MemberID
Filename: controllers/profile.php
Line Number: 112
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/indone49/public_html/system/core/Exceptions.php:185)
Filename: core/Common.php
Line Number: 443
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND Player2ID=504 AND Status=0 UNION SELECT MatchID, TournamentNa...' at line 3
SELECT MatchID, TournamentName, Score, Against, Win FROM ( SELECT MatchID, TournamentName, Player1Score as Score, Player2Score as Against, Player1Point as Win FROM TrMatchDetail a, MsTournament b WHERE a.TournamentID=b.TournamentID AND Player1ID= AND Player2ID=504 AND Status=0 UNION SELECT MatchID, TournamentName, Player2Score as Score, Player1Score as Against, Player2Point as Win FROM TrMatchDetail a, MsTournament b WHERE a.TournamentID=b.TournamentID AND Player2ID= AND Player1ID=504 AND Status=0 ) a ORDER BY MatchID ASC
Filename: /home/indone49/public_html/models/member_model.php
Line Number: 638