Skip to main content
Known Participant
August 20, 2011
Question

PHP array in flash?

  • August 20, 2011
  • 1 reply
  • 464 views

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?

This topic has been closed for replies.

1 reply

Ned Murphy
Brainiac
August 20, 2011

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

wolf14Author
Known Participant
August 20, 2011

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