Jump to content

show flash file from database


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'>



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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.