SELECT * FROM video WHERE videoGalleryID = ORDER BY videoOrder ASC

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 videoOrder ASC' at line 1

#1 /home/ijj1kpif5p27/public_html/_billhobbsart/video-gallery.php(29): WA_MySQLi_RS->execute()