chchrist
chchrist

Reputation: 19812

Array from flash to php/mysql

How can I save to my mysql db an array from flash? I pass the array as a parameter to a php script. What I have to do next?

Upvotes: 0

Views: 486

Answers (1)

Lizard
Lizard

Reputation: 44992

Many options here, simplist is as follows:

  1. Connect to db
  2. searialize array and store in db

http://php.net/manual/en/function.serialize.php - This will convert the array in a string, which can be unserialized later.

Upvotes: 1

Related Questions