Log in

View Full Version : Inserting HTML Image Map Into PHP


Hwona
06-22-2013, 12:33 PM
I've been trying to search for an answer on m own, but I haven't been able to find anything that works. So I wanted to add a HTML map to the adopt page, but if I put the code in the php as an echo, the page breaks. I later tried putting it outside the PHP, and if I do that, the content shows up as normal, but above the page and site banner(not on the page). Can someone please help me out? :3

Hall of Famer
06-29-2013, 01:45 PM
Using echo will inevitably break the page. You will need to enclose the html elements/tags for image map inside the document/article content definition, such as:


$document->addLangvar("<map></map>");