Yeah, thats right. When the slashes were the other way round, Dreamweaver kicked out a syntax error and wouldn't allow me to close the php brackets. Even when encapsulated in ''. After switching the slashes in the attatchments path, everything just suddenly came to life.
