Inserting HTML Image Map Into PHP

Forum
Last Post
Threads / Messages

Hwona

Member
Member
Joined
Mar 1, 2013
Messages
620
Points
0
Mysidian Dollar
31,589
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
 
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:

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

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Top