Jump to content

Pass entire object through PHP form


petenaylor

Recommended Posts

Hi all

 

Is it possible to send this entire object via form to an SQL database?

 

<object style="width:900px;height:636px" >
     <param name="movie" value="http://static.issuu.com/webembed/viewers/style1/v1/IssuuViewer.swf?mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true&documentId=110513182703-16892a8e7da64b33a15959c93e50a60b&docName=crafttonic_002&username=thecrafttonic&loadingInfoText=The%20Craft%20Tonic%20Issue%202&et=1305382654499&er=37" />
     
     <param name="allowfullscreen" value="true"/><param name="menu" value="false"/><embed src="http://static.issuu.com/webembed/viewers/style1/v1/IssuuViewer.swf" type="application/x-shockwave-flash" allowfullscreen="true" menu="false" style="width:900px;height:636px" flashvars="mode=embed&layout=http%3A%2F%2Fskin.issuu.com%2Fv%2Flight%2Flayout.xml&showFlipBtn=true&documentId=110513182703-16892a8e7da64b33a15959c93e50a60b&docName=crafttonic_002&username=thecrafttonic&loadingInfoText=The%20Craft%20Tonic%20Issue%202&et=1305382654499&er=37" />

 

I need someone to be able to copy this code and send it to an SQL database and then echo it out on another page.

 

Thanks for your help

 

Pete

Link to comment
https://forums.phpfreaks.com/topic/238487-pass-entire-object-through-php-form/
Share on other sites

Use htmlentities with the ENT_QUOTES flag when adding the code to the database. When you get it out of the database use html_entity_decode with the ENT_QUOTES flag (if you need that code to render the flash object on the page).

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.