Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

PHP array in flash?

New Here ,
Aug 20, 2011 Aug 20, 2011

Hello, I am trying to display few data from a PHP(which communicates with a second php that uses a database) into flash.

I have created the code needed, but when tracing the php I get "Array" as a result of the trace. How can I display the data that is inside that php array into flash?

TOPICS
ActionScript
468
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 20, 2011 Aug 20, 2011

What code are you using the trace the PHP and what does the exact trace output display?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 20, 2011 Aug 20, 2011
LATEST

The php data are stored in a flash array. And then I use array numbers to display the php data. But the last array gives me an "Array" on output window.

All the other data are displayed correctly.

The last one is an array probably because it has more than 1 text data in it, thing is I don't know how to get it's data to be displayed...

Again the php communicates with a database to get the data.

Hope that doesn't confuse you. So communication is built like that:

Flash -> PHP 1 -> PHP 2(database) -> PHP 1 -> Flash

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines