html to php fixes