generate html markup using minimal php