Check if array
Posted: Wed Mar 01, 2006 6:04 am
How can I check if a variable is an array?
I am updating a script to use arrays
I am loading the data from a database and need to check if the data in the database is in the old format (string) and if it is convert it to the new format (base64encode(serialize($array)))
Please help
I am updating a script to use arrays
I am loading the data from a database and need to check if the data in the database is in the old format (string) and if it is convert it to the new format (base64encode(serialize($array)))
Please help