PRODUCT
DIRECTORY


Proceeds Benefit Friends Restoration and Music Programs


sql error:

query:
SELECT PR.* FROM tblProducts AS PR, tblMediums AS MED WHERE PR.MediumID=MED.ID AND PR.Online=1 AND PR.CategoryID= ORDER BY MED.Sort, PR.Sort ASC

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY MED.Sort, PR.Sort ASC' at line 1.
if you haven't set up
< backArray ( [CONTEXT_DOCUMENT_ROOT] => /home/wanamake/public_html [CONTEXT_PREFIX] => [DOCUMENT_ROOT] => /home/wanamake/public_html [GATEWAY_INTERFACE] => CGI/1.1 [HTTPS] => on [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_ENCODING] => gzip [HTTP_CONNECTION] => Keep-Alive [HTTP_HOST] => wanamakerorgan.com [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/) [HTTP_X_HTTPS] => 1 [PATH] => /bin:/usr/bin [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php56/root/etc:/opt/cpanel/ea-php56/root/etc/php.d:. [QUERY_STRING] => class=Categorys&cid= [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 54.173.237.152 [REMOTE_PORT] => 53738 [REQUEST_METHOD] => GET [REQUEST_SCHEME] => https [REQUEST_URI] => /thumbs.php?class=Categorys&cid= [SCRIPT_FILENAME] => /home/wanamake/public_html/thumbs.php [SCRIPT_NAME] => /thumbs.php [SCRIPT_URI] => https://wanamakerorgan.com/thumbs.php [SCRIPT_URL] => /thumbs.php [SERVER_ADDR] => 162.144.254.151 [SERVER_ADMIN] => webmaster@wanamakerorgan.com [SERVER_NAME] => wanamakerorgan.com [SERVER_PORT] => 443 [SERVER_PROTOCOL] => HTTP/1.1 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [SSL_TLS_SNI] => wanamakerorgan.com [TZ] => America/New_York [UNIQUE_ID] => XHAAq@Cw28itRoNer7wd2wAAARY [PHP_SELF] => /thumbs.php [REQUEST_TIME_FLOAT] => 1550844075.5 [REQUEST_TIME] => 1550844075 [argv] => Array ( [0] => class=Categorys&cid= ) [argc] => 1 )
Array ( )

Array ( [class] => Categorys [cid] => )