sql error:

query:
SELECT concat(FirstName,' ',LastName) FROM tblArtists WHERE ArtistID=

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 '' at line 1.
if you haven't set up
< backArray ( [USER] => cathyd [HOME] => /home/cathyd [FCGI_ROLE] => RESPONDER [UNIQUE_ID] => Yzt-Znnpn9WxpZ_tXxj5XwAAANY [SCRIPT_URL] => /artist-thumbs.php [SCRIPT_URI] => http://gallerydeforest.com/artist-thumbs.php [proxy-nokeepalive] => 1 [HTTP_USER_AGENT] => CCBot/2.0 (https://commoncrawl.org/faq/) [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_LANGUAGE] => en-US,en;q=0.5 [HTTP_ACCEPT_ENCODING] => br,gzip [HTTP_HOST] => gallerydeforest.com [HTTP_CONNECTION] => Keep-Alive [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 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [SERVER_NAME] => gallerydeforest.com [SERVER_ADDR] => 162.144.254.151 [SERVER_PORT] => 80 [REMOTE_ADDR] => 100.25.42.211 [DOCUMENT_ROOT] => /home/cathyd/public_html [REQUEST_SCHEME] => http [CONTEXT_PREFIX] => [CONTEXT_DOCUMENT_ROOT] => /home/cathyd/public_html [SERVER_ADMIN] => webmaster@cathydeforest.com [SCRIPT_FILENAME] => /home/cathyd/public_html/artist-thumbs.php [REMOTE_PORT] => 46940 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => Artist=1&Cat=145 [REQUEST_URI] => /artist-thumbs.php?Artist=1&Cat=145 [SCRIPT_NAME] => /artist-thumbs.php [PHP_SELF] => /artist-thumbs.php [REQUEST_TIME_FLOAT] => 1664843366.1137 [REQUEST_TIME] => 1664843366 [argv] => Array ( [0] => Artist=1&Cat=145 ) [argc] => 1 )
POST
Array ( )
GET
Array ( [Artist] => 1 [Cat] => 145 )