Can you attach flash swf files to php ?

yeah… you can use “echo” or place the code outside the PHP tag!

yeah i would probably do just

<swf crap><?php echo $swfName; ?></swf crap> 

but just echoing all the code for the loading of the file may be good in some places where you might wan’t to load up a picture instead of a swf :slight_smile:

hrmm its not showing the stuff…

<swf stuff><?php echo $name; ?></swf stuff>