alexguz79 Posted March 27, 2008 Share Posted March 27, 2008 hey... i posted this before and i'm having problems.... can't figured out how to do this... the swf on my database is no loading on the site im using this code and its not working: this is the object tht calls the flash *------------------------------------ <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="555" height="500"> <param name="movie" value="picture_movie.php?id=<?php echo $id;?>"> <param name="quality" value="high"> <embed src="picture_movie.php?id=<?php echo $id;?>" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="555" height="500"></embed> </object> ------------------------------------ this is the file picture_movie.php called ------------------------------------ <?php require_once('config_picture.php'); $q = 'SELECT swf_evento FROM perfect WHERE ID = '.mysql_real_escape_string($_GET['id']); $r = mysql_query($q) or die(mysql_error().$q); header("content-type: application/x-shockwave-flash"); list($data) = mysql_fetch_assoc($r); echo $data; } ?> --------------------------------------- please anyone... im stuck Quote Link to comment Share on other sites More sharing options...
alexguz79 Posted March 27, 2008 Author Share Posted March 27, 2008 here is what yo can see what im getting: http://mytrende.com/index_picture_flash.php?id=6 Quote Link to comment Share on other sites More sharing options...
nafetski Posted March 27, 2008 Share Posted March 27, 2008 When you echo $id (not in the object tag) What are you getting? Really would help us to see the code where $id is declared =0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.