query($sql); $row=$DB_web->fetch_array($result); $thistype=strrchr($row[fdImage],"."); if($row[fdImage]) { if($thistype=='.swf') { if($row[fdWidth]) $thistring="width='$row[fdWidth]' "; if($row[fdHeight]) $thistring.="height='$row[fdHeight]' "; $string=" "; } else { if($row[fdWidth]) $thistring="width='$row[fdWidth]' "; if($row[fdHeight]) $thistring.="height='$row[fdHeight]' "; $string=""; } } $print_string="
".$string."
"; print "document.write(\"".$print_string."\")";