change guide from html to php