changed html into php