Database error: 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 date >= CURRENT_DATE ORDER BY date , time' at line 1
Invalid query: SELECT play_date_id , DATE_FORMAT(date,'%e/%c/%y') as play_date , time , CONCAT_WS(',',availability_s,availability_d1,availability_d2,availability_d3,availability_d4,availability_d5,availability_e) as availabilities FROM play_dates WHERE play_id = AND date >= CURRENT_DATE ORDER BY date , time


Backtrace:
File:/home/pktheate/public_html/index.php
Line:4
Function:include
File:/home/pktheate/public_html/init.php
Line:48
Function:include
File:/home/pktheate/public_html/include/init.php
Line:92
Function:include
File:/home/pktheate/public_html/include/book.php
Line:10
Function:db_get_array
File:/home/pktheate/public_html/core/database.php
Line:14
Function:db_query
File:/home/pktheate/public_html/core/db_mysql.php
Line:65
Function:db_debug_error