QUERY: 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 display_order ASC' at line 1SELECT * from gallery_images where gallery_id= order by display_order ASC array ( 'u' => 'gallery/latest-projects', )array ( 'USER' => 'actindus', 'HOME' => '/home/actindus', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/gallery/latest-projects', 'QUERY_STRING' => 'u=gallery/latest-projects', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_QUERY_STRING' => 'u=gallery/latest-projects', 'REDIRECT_URL' => '/gallery/latest-projects', 'REMOTE_PORT' => '57552', 'SCRIPT_FILENAME' => '/home/actindus/public_html/index.php', 'SERVER_ADMIN' => 'webmaster@actindustrial.com.au', 'CONTEXT_DOCUMENT_ROOT' => '/home/actindus/public_html', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/home/actindus/public_html', 'REMOTE_ADDR' => '35.175.190.77', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '208.116.62.225', 'SERVER_NAME' => 'actindustrial.com.au', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin', 'HTTP_ACCEPT_ENCODING' => 'gzip', 'HTTP_CONNECTION' => 'Keep-Alive', 'HTTP_HOST' => 'actindustrial.com.au', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'proxy-nokeepalive' => '1', 'SSL_TLS_SNI' => 'actindustrial.com.au', 'HTTPS' => 'on', 'UNIQUE_ID' => 'XBGBdIx30dtxBAy1wYhZRgAAAY4', 'REDIRECT_STATUS' => '200', 'REDIRECT_SSL_TLS_SNI' => 'actindustrial.com.au', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'XBGBdIx30dtxBAy1wYhZRgAAAY4', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => 1544651124.0457, 'REQUEST_TIME' => 1544651124, 'argv' => array ( 0 => 'u=gallery/latest-projects', ), 'argc' => 1, )