|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Data from PHP\ Multiple ROWS single flash ????
Ok, here is the issue.
I have PHP display multiple rows of data = No problem. I am displaying a single flash file that loads dynamic Text. The flash file is reading the last variable displayed. I'm trying to think of a way to have the flash file load the approprate data for the row. I thought well, i could somehow number the rows and have flash read it for the row it's in....how do i tell the flash file what row it's in? I keep hitting walls with this and I'm getting very desperate. Please help! any posts are appreciated. Last edited by NooRotic : August 6th, 2003 at 06:29 PM. |
|
#2
|
||||
|
||||
|
why not have the flash tell the php what row to get in the load vars call, and then have the php output the appropriate row?
One way I can think of to do this is by putting the row ID in the querystring: Code:
// here define what row you want to get, however you want to do that
var ID = 0;
my_lv = new LoadVars();
my_lv.onLoad = handleLoad;
my_lv.load("page.php?ID="+ID);
I haven't actually tried this out, but I think it should work. |
|
#3
|
|||
|
|||
|
My bad, i didn't really explain my set up properly. I'm running php with templates and within the template bar, i have a single flash file.
When rows of data are displayed it's calling that single flash file. It loadsvarnum from the php but it displays the last var instead of each one. The php is displaying the correct vars I need placed but since i'm using a single flash file (displayed in each row from the template) it's only loading the last &var=value. I'm trying to get each row to display the proper information. Is this even possible?? Hope this helps clear up what I meant. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > Data from PHP\ Multiple ROWS single flash ???? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|