cookspyder Posted July 23, 2007 Share Posted July 23, 2007 I have a form that has many check boxes built into an array. I need to email this array in an email message. ie the email message would look like: Hello, the following person would like to have these colors: array[1],array[2], and so on. the array length can change each time. any ideas Quote Link to comment Share on other sites More sharing options...
rlindauer Posted July 23, 2007 Share Posted July 23, 2007 You can implode the array: $colors = implode(",",$color_array); $message = "Hello, the following person would like to have these colors: $colors"; http://us.php.net/implode Quote Link to comment Share on other sites More sharing options...
cookspyder Posted July 23, 2007 Author Share Posted July 23, 2007 Thanks alot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.