Greetings forum,
Can someone tell me how to insert a swf into the mysql database through a php script??
I have a radio button that I need to assign this value to and then use....
$query= "Insert into........ to place it into the db
How can I assign this swf file to the value of my radio button without showing the movie on the page, and then send it to the db?
Here is the file............................
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='642' height='398' id='green_booth' align='middle'>
<param name='allowScriptAccess' value='sameDomain' />
<param name='movie' value='blue_booth.swf' />
<param name='quality' value='high' />
<param name='bgcolor' value='#ffffff' />
<embed src='blue_booth.swf' quality='high' bgcolor='#ffffff' width='100' height='100' name='blue_booth' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />
</object>
I know I am probably doing this wrong but I have noticed that if I load this file as is, into a field in the db I can display it in the browser much easier by using................
$row = mysql_fetch_object($result);
echo"
$row->fieldname.
I am desperate to get this done and I will take any solutions that anyone has.
Thanks in advance