The line with all the ######### is causing the error ... comments are done with two forward slashes // in php not the # sign ...