Jump to content

show flash file from database


matthew9090

Recommended Posts

I have got a flash file that is stored in the database. So I fetch it and put it in a variable then put the variable in the flash embed code where the src is but the flash comes up blank.

 

$file = "SELECT * FROM table WHERE column='$name'";
$file2 = mysql_query($sqlfile);
        $file3 = @mysql_fetch_assoc($file2);
$file4 = $file3['gamefile'];
  //skip some code to html embed section
<object width='550' height='400'>
<param name='movie' value='valuename'>
<embed src='$file4' width='550' height='400'>
</embed>
</object>

    

 

then the page comes up with a white box which when you hover over it says 'file not loaded'.

Link to comment
https://forums.phpfreaks.com/topic/232308-show-flash-file-from-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.