i’m trying to implode an array using:
$implode_keys = implode(',', array_values($arr)
$implode_values = implode(',', array_keys($arr)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
serializethe array (or array of arrays). That’s what serialization is intended for. When you need it back as an array (or array of arrays)… justunserializeit.For future generations… serialization flattens out a data structure, such as an array, so that it may be stored in a simplified fashion, such as in a database.