Fatal error: Uncaught mysqli_sql_exception: 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 unix_timestamp(ap.date_sched) ASC' at line 6 in /home/u691256210/domains/kydav.com/public_html/clientservice/admin/appointments/index.php:63
Stack trace:
#0 /home/u691256210/domains/kydav.com/public_html/clientservice/admin/appointments/index.php(63): mysqli->query()
#1 /home/u691256210/domains/kydav.com/public_html/clientservice/admin/index.php(26): include('/home/u69125621...')
#2 {main}
thrown in /home/u691256210/domains/kydav.com/public_html/clientservice/admin/appointments/index.php on line 63