2 Replies Latest reply on Jul 24, 2013 8:34 AM by Ron Colmen

    getURL+"POST"

    Ron Colmen Level 2

      I use the below code to download data from my mysql as a XLS file. (works fine)

      list_btn.onRelease = function (){

                getURL("www.my.com/info_july.php");

      }

       

      Now I need to pass a variable to this php and get only the relevant data downloaded. I tried the below code, but no success.

      list_btn.onRelease = function (){

                var dName:String = _root.student_class.text;

                getURL("www.my.com/info_july.php", "_blank", "POST");

      }

       

      How do I pass a variable to this document so I can download only data I need?