SELECT * FROM disc_song_attributes WHERE Song_ID= ORDER BY AttributeName, AttributeValue
array(4) { [0]=> array(4) { ["file"]=> string(61) "/home/nilsson/public_html/site/actions/action_displaysong.php" ["line"]=> int(180) ["function"]=> string(7) "doQuery" ["args"]=> array(1) { [0]=> string(88) "SELECT * FROM disc_song_attributes WHERE Song_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(18) "action_displaysong" ["object"]=> object(action_displaysong)#5 (5) { ["articleId"]=> int(1765) ["title"]=> string(18) "Turn Out The Light" ["shorttitle"]=> string(18) "Turn Out The Light" ["redirect"]=> string(0) "" ["canonical"]=> string(66) "https://nilssonschmilsson.com/turn-out-the-light-210607161911.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 displaysong -