Forum Moderators: coopster
I have
<?php
include filepath/geturl.php //$code is the variable name for the url
echo $code; //it displays the url I want. All good so far.
?><param name="movie" value=$code></param><param name="wmode" value="transparent"></param>
<embed src=$code type="application/x-shockwave-flash" wmode="transparent" width="300" height="247"></embed></object>
Unfortunately I cannot use the variable $code in the html side of things. Is there a better way to do this?
<param name="movie" value="<?php echo $code; ?>"></param><param name="wmode" value="transparent"></param>
<embed src="<?php echo $code; ?>" type="application/x-shockwave-flash" wmode="transparent" width="300" height="247"></embed></object>