2 Replies Latest reply on Sep 19, 2006 1:14 PM by calmchess333

    passing php varibles to flash

    calmchess333 Level 1
      I'd like to pass a variable from php to flash....the first example below shows what works .....the second example shows what i'd like to do but can't for some unknown reason. I think example#2 is possible because i've seen similar code all over the internet. something is just wrong and i can't figure it out. please help me use a php variable as part of the url string.

      example #1
      <?php
      echo "&valid=1&;
      ?>
      ////////////////////////////
      flash output is 1

      example#2
      <?php
      $filename = "hello";
      echo "&valid=$filename";
      ?>
      //////////////////////////////////////////////
      flash output is $filename'';