I am using flash in application, using this stuff in head ,
Expand|Select|Wrap|Line Numbers
- <script type="text/javascript" src="js/swfobject.js"></script>
- <script type="text/javascript">
- function notEmpty()
- {
- var act = document.getElementById('var1');
- var inact = document.getElementById('var2');
- var dis = document.getElementById('var3');
- swfobject.embedSWF(
- "open-flash-chart.swf", "my_chart", "500", "250",
- "9.0.0", "expressInstall.swf",
- {"data-file":"data.php?p="+act.value+"&q="+inact.value+"&r="+dis.value}
- );
- }
- </script>
There is a data.php file which contains all the parameters to display the flash chart.
Now problem is that>>>
I am accessing these three variables in data.php as $_GET['p']; $_GET['q']; $_GET['r'];
but not able to get these values in data.php.
What can i do in such situation, am i going right or wrong.
can somebody tell me better solution please?
Thank you in advance.