Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2013, 12:33 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 49,694
Hwona is on a distinguished road
Default Inserting HTML Image Map Into PHP

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
Reply With Quote
  #2  
Old 06-29-2013, 01:45 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 392,931
Hall of Famer is on a distinguished road
Default

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 Code:
$document->addLangvar("<map></map>"); 
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Html? MaximumRide Questions and Supports 7 05-17-2012 04:59 PM
Ad HTML not working AlkseeyaKC Questions and Supports 2 07-01-2011 07:13 AM
Newly adopted pets not inserting into database coffeeaddict Questions and Supports 7 02-25-2011 11:19 PM
HTML instead of BBCODE PokePets Questions and Supports 3 08-09-2010 05:36 AM
Html in content? Sora Questions and Supports 7 04-21-2009 05:57 PM


All times are GMT -5. The time now is 08:34 AM.

Currently Active Users: 986 (0 members and 986 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636