chefkeifer
asked on
html insert swf in mysql
Is it possible to have html coding that embeds a swf file, and coding is in a field in a mysql database table and then have php code pull that code to insert the swf in a specific table in the html document..
i know that sounds weird..
but i have some ads that are made in flash but i do not want them to show on every html page this way i can regulate what swf shows up where...
i know that sounds weird..
but i have some ads that are made in flash but i do not want them to show on every html page this way i can regulate what swf shows up where...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I don't think the question specifically wants to store the swf in the database... just the embed code to call the swf file?
hi,
in db make a column say suppose "swfcode" with datatype as "mediumtext"
store the embedded code in it. i suppose u might be knowing embedded code of swf.
select swfcode from table ;
here we will get embedded code of swf.
now use this code wherever u want
Please note its an logic.
in db make a column say suppose "swfcode" with datatype as "mediumtext"
store the embedded code in it. i suppose u might be knowing embedded code of swf.
select swfcode from table ;
here we will get embedded code of swf.
now use this code wherever u want
Please note its an logic.