Notice: Undefined index: club_id in /home/gcgc1799/squad.gcaa.com.au/club/matches.php on line 6
SELECT
m.match_id,
m.short_url,
m.match_name,
m.match_date,
m.squadding_start,
m.squadding_end,
m.match_level,
m.squadding_type,
m.start_time,
m.match_package,
max_squads,
c.club_name,
c.club_username
FROM
match_details AS m
JOIN
club AS c
ON
c.club_id = m.club_id
WHERE
m.club_id =
ORDER BY
m.match_date DESC
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 'ORDER BY
m.match_date DESC' at line 23
sql_query: