Forum Moderators: coopster
if ($file == "one"){
echo "<embed src="$url" width="$width" height="$height" type="application/x-shockwave-flash"></embed>";
Let me know if you need anything else. All help would be appreciated. Thanks!
Thanks for the help, when I use the code you provide I get this error
Parse error: parse error, unexpected $ in /homepages/20/d161977859/htdocs/isdproductions/addlink.php on line 70
Line 70 is after my </html> and contains no code?
This is very confusing to me
Full Code
<?php
$url = $_POST['url'];
$file = $_POST['file'];
$width = $_POST['width'];
$height = $_POST['height'];
if ($file == "one"){
echo "<embed src=\"$url\" width=\"$width\" height=\"$height\" type=\"application/x-shockwave-flash\"></embed>";
?>
[edited by: ineedmoney at 2:08 pm (utc) on May 22, 2006]