Jump to content

Inserting HTML code into a database


dsab

Recommended Posts

what im trying to to is insert this code

 

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.ca/maps?f=q&source=s_q&hl=en&geocode=&q=157+Baldwin+Oshawa,+ON+L1M+1C3&sll=44.090544,-79.185333&sspn=0.37777,1.229095&dirflg=r&date=09%2F04%2F15&time=19:35&ttype=dep&noexp=0&noal=0&sort=&tline=&ie=UTF8&ll=43.971446,-78.953934&spn=0.011089,0.038409&z=14&iwloc=A&output=embed"></iframe><br /><small><a href="http://maps.google.ca/maps?f=q&source=embed&hl=en&geocode=&q=157+Baldwin+Oshawa,+ON+L1M+1C3&sll=44.090544,-79.185333&sspn=0.37777,1.229095&dirflg=r&date=09%2F04%2F15&time=19:35&ttype=dep&noexp=0&noal=0&sort=&tline=&ie=UTF8&ll=43.971446,-78.953934&spn=0.011089,0.038409&z=14&iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>

 

it is code for a dynamic google map module. I want to paste this text into a back end text area i have set up and then suck it from the database to display the map onscreen.

 

however all it is displaying is the code it self.

 

any help? thanks

Link to comment
https://forums.phpfreaks.com/topic/154275-inserting-html-code-into-a-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.