开发者

how to pull flash video from mysql with php

开发者 https://www.devze.com 2023-01-19 18:10 出处:网络
im trying to pull .swf files from MySQL by using PHP, ive set everything开发者_Go百科 in the database up with an ID and licked it properly. Im not sure if the \'type\' has to be anything special, righ

im trying to pull .swf files from MySQL by using PHP, ive set everything开发者_Go百科 in the database up with an ID and licked it properly. Im not sure if the 'type' has to be anything special, right now its just a 'VARCHAR' and when altering the javascript part of it that that flash automatically generated-- in the i tried to echo it out by putting it in the value like

             < param name="movie" value="<?php echo $row['video_path']; ?>" />

but thats not working


<object width="550" height="400">
<param name="movie" value="<?php echo $row['video_path']; ?>">
<embed src="<?php echo $row['video_path']; ?>" width="550" height="400">
</embed>
</object>

I hope this is what you are trying. You getting the video path from mysql ..

0

精彩评论

暂无评论...
验证码 换一张
取 消