472,780 Members | 4,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,780 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 1381

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: adrianTNT | last post by:
Hello, can anyone help me with this? I am new to PHP. I would like to load a variable from a php file, the php script should only give the variable if it was requested by a page on my site. the...
6
by: BigDadyWeaver | last post by:
I am using the following code in asp to define a unique and unpredictable record ID in Access. <% 'GENERATE UNIQUE ID Function genguid() Dim Guid guid =...
11
by: rahul8143 | last post by:
hello, Check following code that changes const i value. include <stdio.h> int main() { const int i=10; int *p; p=&i; (*p)++; printf("\n %d",i);
0
by: LIN | last post by:
Hi, I want to set the flash variable dynamically in the .aspx page. But the in the .vb environment i am not getting the flash object. How I can set the flash variable. In the VB version I was...
53
by: fdmfdmfdm | last post by:
This is an interview question and I gave out my answer here, could you please check for me? Q. What are the memory allocation for static variable in a function, an automatic variable and global...
3
by: Skip | last post by:
OK, I'm a novice in JS but have lots of coding experience. I am trying to accomplish something that would seem somewhat simple - BUT IT'S NOT. I have a basic window that calls another window...
3
daJunkCollector
by: daJunkCollector | last post by:
I have the html/javascript posted below, I imagine the fix to my problem is something simple that I am overlooking. My script is a little bit of html and javascript, and there is an embedded flash...
0
by: duncan1212 | last post by:
Hi, i'm trying to put a variable in a flash movie using a PHP file. I did everything in the .php (print(filename=$file))... I also coded the part for AS in the movie timeline:...
9
by: alternative451 | last post by:
I, I have a litlle problem with a complex makefile and i was looking for a solution i want get a variable from terminal to makefile. make file: IFDEF VAR_NAME ~~ ~~ ~~
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.