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 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate [HTTP_HOST] => wanamakerorgan.com [HTTP_IF_MODIFIED_SINCE] => Thu, 27 Jul 2017 02:40:53 GMT [HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/) [PATH] => /bin:/usr/bin [PHPRC] => /usr/local/lib/ [QUERY_STRING] => class=Categorys&cid= [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 54.159.113.182 [REMOTE_PORT] => 37542 [REQUEST_METHOD] => GET [REQUEST_SCHEME] => http [REQUEST_URI] => /thumbs.php?class=Categorys&cid= [SCRIPT_FILENAME] => /home/wanamake/public_html/thumbs.php [SCRIPT_NAME] => /thumbs.php [SERVER_ADDR] => 162.144.254.151 [SERVER_ADMIN] => webmaster@wanamakerorgan.com [SERVER_NAME] => wanamakerorgan.com [SERVER_PORT] => 80 [SERVER_PROTOCOL] => HTTP/1.0 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [TZ] => America/New_York [UNIQUE_ID] => WcqXKKKQ-pcAAARuQnkAAAAR [PHP_SELF] => /thumbs.php [REQUEST_TIME_FLOAT] => 1506449192.78 [REQUEST_TIME] => 1506449192 [argv] => Array ( [0] => class=Categorys&cid= ) [argc] => 1 )
Array ( )

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