Try
$notes_result = $conn->query($notes_sql) or die(mysqli_error($conn)); 
To get an updated error.
If the echoed SQL works fine you have to guess it's a connection or permissions issue. Are you doing an insert anywhere else?
Edit: So it's a permissions issue, run this:
GRANT INSERT PRIVILEGES ON *.* TO 'ideapale_amquery'@'localhost' 
However, if you don't believe you need to, try this first:
SHOW GRANTS FOR 'ideapale_amquery'@'localhost'
                  Graphain
                   2010-07-01 02:01:42