Notice: Undefined variable: songId in /home/nilsson/public_html/site/actions/action_displaysong.php on line 146

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(146)
    ["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(167)
    ["function"]=>
    string(10) "getContent"
    ["class"]=>
    string(18) "action_displaysong"
    ["object"]=>
    object(action_displaysong)#5 (3) {
      ["articleId"]=>
      int(1763)
      ["title"]=>
      string(15) "Makin' Whoopee!"
      ["redirect"]=>
      string(0) ""
    }
    ["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(118)
    ["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 -