I have a form on my website that uses arrays. Basically I can't figure out how to send the contents of those arrays in the body of an e-mail using the mail() function.
If I try just putting the name of the array like $array it will just send the text "Array" to my mailbox, which is normal. Unfortunately, the usual means of displaying the contents of an array such as "while (list($key,$value) = each($array)" won't work in the mail function.
So...is it possible to send the contents of my arrays in the body of an e-mail and if so how do you do it? 🙁
Thanks.