changed html codes to php