Entry
How can i embed a .swf in a PHP script?? without using Ming
Aug 16th, 2002 09:26
Alex Dean, snakeyes,
If you just want to embed a .swf (without manipulating it) simply exit
PHP mode and add an <object> tag just like you would with normal HTML.
After you've added this HTML, you can continue with PHP if you want.
<?php
//a bunch of php...
?>
<object width="100" height="100">
<!-- param tags as necessary for your .swf -->
<embed src="whatever.swf"></embed>
</object>
<?php
// more php code if you want...
?>