Looks like you are using the wrong kind of quotation marks in you load function..
the correct one to use is : " its usually very close to the enter key on your keyboard and right next to the semicolon.
You would call it like this :
dbLoadImage("animatedsprite.png", 1);
If you are copying pasting code from places, you'll have to manually check through it because sometimes, the symbols like quotes and slashes and commas etc can get mixed up and replaced with things look similar but are totally different characters.
If it ain't broke.... DONT FIX IT !!!