I saved a multidimensional array(variable"original") from PHP to one cellfield in mysql.
Now I'm looking for the easiest way to transfer that array right back from mysql to a new variable("duplicate"), so that this new variable contains the same multidimensional array as "original", meaning i want a duplicate of "original" through reading out mysql ...
here's the way that doesnt do the work:
$query = "SELECT cellname
FROM tablename
WHERE id = 1";
$duplicate_unfetched = mysql_query($query);
$duplicate = mysql_fetch_array($duplicate_unfetched, MYSQL_ASSOC);
i guess i messed up in the last 2 lines ... $duplicate doesnt contain the whole multi-array but just 1 result field ... :o