-
PHP variables?
Hi All,
I am a PHP newbie...But that said I am trying to use what I believe to be a variable from PHP in Flash.
Asking for trouble I know but hey!
In the PHP code there is this:
<?php echo tep_image(DIR_WS_IMAGES . 'image.gif', 'imagename', '204', '50'); ?>
I know that part of this is the path to the image folder. But I am not sure how to get this data into flash and which part of it I should use.
Any help would be great...Thanks
-
Hi,
I'm not sure what sort of variable this is but the way the pass php vars to flash is like this:
// make flash variabele
echo "&title=" . $title . "&sec=" . $sec . "&kb=" . $kb . "&swf_name=" . $swf_name . "&test=" . $test . "&loaded=1";
"&title=" Is your variable in the flashmovie
$title Is the value passed to that through the php variable.
You can sent multiple variables at once by using the . -operator.
HTH, Danielle.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|