SELECT * FROM disc_album_attributes WHERE Album_ID= ORDER BY AttributeName, AttributeValue
array(4) { [0]=> array(4) { ["file"]=> string(62) "/home/nilsson/public_html/site/actions/action_displayalbum.php" ["line"]=> int(151) ["function"]=> string(7) "doQuery" ["args"]=> array(1) { [0]=> string(90) "SELECT * FROM disc_album_attributes WHERE Album_ID= ORDER BY AttributeName, AttributeValue" } } [1]=> array(7) { ["file"]=> string(53) "/home/nilsson/public_html/site/includes/templates.php" ["line"]=> int(196) ["function"]=> string(10) "getContent" ["class"]=> string(19) "action_displayalbum" ["object"]=> object(action_displayalbum)#5 (5) { ["articleId"]=> int(1543) ["title"]=> string(6) "Popeye" ["shorttitle"]=> string(6) "Popeye" ["redirect"]=> string(0) "" ["canonical"]=> string(56) "https://nilssonschmilsson.com/popeye-22091520475525.html" } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [2]=> array(4) { ["file"]=> string(53) "/home/nilsson/public_html/site/includes/templates.php" ["line"]=> int(25) ["function"]=> string(11) "getTemplate" ["args"]=> array(1) { [0]=> string(7) "default" } } [3]=> array(4) { ["file"]=> string(40) "/home/nilsson/public_html/site/index.php" ["line"]=> int(141) ["function"]=> string(7) "getPage" ["args"]=> array(0) { } } }1064: 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 AttributeName, AttributeValue' at line 1 displayalbum -