|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
auto update using flash and mysql+php
Hi....
I have a mysql database that store results of game. My question is how can i display the latest result inserted using flash witout refresh the page. I think flash can do it.... hope someone have an idea |
|
#2
|
|||
|
|||
|
Yes it can.
Just when you're finish your flash game, add the score in the db, then load it it should look like this. PHP Code:
your php script to send var to flash should have echo or print in it like echo "&myvar1=value1&myvar2=value2" eg echo "&toto=152&tata=100&zeflasher=50&" In your upload.php file do this: PHP Code:
hopes it helps ![]() edit: grrr no [ as ] [ /as ] tag here.... so use the php one Last edited by zeflasher : September 30th, 2003 at 12:29 AM. |
|
#3
|
|||
|
|||
|
thanks zeflasher
i will try your idea.. |
|
#4
|
|||
|
|||
|
don't say it...
![]() |
|
#5
|
|||
|
|||
|
wondering about something similar
I was wondering can this be achieved at set intervals? I don't know anything except some basic flash stuff. But can it maybe refresh just the flash content every maybe minute or something? Sort of like scrolling news...? thank you...
__________________
hey it's the CHARKING |
|
#6
|
|||
|
|||
|
Yeah for sure you can...
Just put the script in a function and call this function with a setInterval as you said... ![]() Cya and marry christmass |
|
#7
|
|||
|
|||
|
thank you as I said I know little of flash, I'll lok into this setInterval
I hope I can learn action script hmm it seems tough. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > auto update using flash and mysql+php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|