Jump to content

HUH??? I Sum Need Help


tarun

Recommended Posts

If you find the answer I'd like to know to.

I do pass variables to javascript via php with echoing the output into javascript and that seems to work, perhaps you can do that with Flash?

Example
[code]
<?php
$myWidth = 50;

?>
<script type="text/javascript">
  function myAlert() {
      alert('<?php echo $myWidth;?> is the width!');
  }
</script>
[/code]

Well I'm no JS expert but you get the point :)

Link to comment
https://forums.phpfreaks.com/topic/29964-huh-i-sum-need-help/#findComment-137671
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.