The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

the code above will play random movie files from 1 -3 with no problem so its playing a varable of movies 1-3 but if i try to get a varable from mysql it doesn't work, but i can print the move but not play a varable why!!!!!!

Sorry about that, I misread your code (or rather just made my own up!).

I'm not entirely sure what you're trying to achieve. You never use the $_GET parameter in any of the code, is there a reason for this? The query also asks for a number which has been called before (i think), again, I think I'm getting confuzzled. :P

I have assumed you just want to check for it's existence in the following code.

Hi iam using javascript to call the number by random between 1-90 then i use some ajax script to pass it to a php file called ajax.php then post the random numbers to the database this works fine, then iam using the code i posted earlier to select the numbers from the database then play the swf file,
if you look at the demo i posted you will see a board when a number is called it lights up, above the board you will see some numbers appear about 2 seconds after the first number is called.these are the numbers from the php file i posted earlier, they print fine but wont play swf files why????????.
don't say i need swfobject can't get my head round it.

Hi
i have change the code. now the ajax.php post's the full url plus the number into the database but still no joy, i can print it out no problem but can't play swf file, can't seem to solve this no matter what i do
here is the code