Jump to content

[SOLVED] sending an array from a post


denoteone

Recommended Posts

I have  10 check boxes in my form that all are name=files[]

 

well when I submit the form I want to have a list of all the files that are checked.

 

I then want to send that list in an email. so far i have

$arr = $_POST['files'];
message = 'these are the files that are selected '.$arr.'';

then my mail comes to me it says ------ these are the files that are selected Array

Link to comment
https://forums.phpfreaks.com/topic/125649-solved-sending-an-array-from-a-post/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.