merge with $html="" with php statements below