471,337 Members | 925 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

php variable to flash

Hello,

I realy need help,Searched the NG for a days with no vail.
Sorry for the long script.
I am trying to get a variable from php to flash. I have the following
code in php

<a href="artist_page.php?12345678=<?php echo
$row_rs_Q_Gender_to_Artist['Artist_ID']; ?>"><?php echo
$row_rs_Q_Gender_to_Artist['ArtistName']; ?></a>

This works fine getting the results from mysql, it like this on the
browser: artist_page.php?12345678=id number quried from dbase

Now, I have a flash in the same page that looks like this

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="340" height="350">
<param name="movie"
value="myflash.swf?artist_page.php?12345678=<?php echo
$row_Recordset1['ArtistID']; ?>">
<param name="quality" value="high">
<embed src="myflash.swf?artist_page.php?12345678=<?php
echo $row_Recordset1['ArtistID']; ?>" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="340"
height="350"></embed></object>
flash button like this

on (release) {

getURL("http://win2000/echoben/artist_page.php?12345678="+$row_Recordset1['ArtistID']);

The results I get on the browser when I click the flash button
would not get the id number quried from dbase mysql.
I have tried Loadvarsnum
("http://win2000/echoben/artist_page.php?12345678="+$row_Recordset1['ArtistID',0,
"post"]); and get and bunch of ways I foung searching the internet and
NG but none works

Please shed some light and end my nightmare
your help is very much appreciated

Thank you

Jul 17 '05 #1
0 1328

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

11 posts views Thread by rahul8143 | last post: by
reply views Thread by LIN | last post: by
53 posts views Thread by fdmfdmfdm | last post: by
9 posts views Thread by alternative451 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.