Ok, I dont know if you are using "black and white" type of monitor that would explain why you didnt see the red slash in my previous post, so let me zoom it for you:
can you spot any difference between:
"
and
\"
I'm on purpose dont want to give you the corrections needed for your file, cause this is "mother of basics" stuff, and you seems to refuse to understand it. I'm afraid to see what else problems you are going to expirience, without knowing the basics! So far, I'd suggest you restore your gallery to default state and postpone editing any .php files and find somebody else do it for you, untill you learn the basics.