Jump to content

Need help on check box


rabesh

Recommended Posts

Helloo guys,

I need help on check box.

i check box containing different value using this code

 

<input type="checkbox" value="" name="find[]" />

 

after that i used php code to receive the post data

using the following code

$find = $_POST['find'] ;

 

    $n = count($find);

 

    for($i=0; $i < $n; $i++)

    {

      $display=($find[$i] . " ");

 

    }

 

then i try to send that posted data to mail using the code mail function

for that i create a variable and send like this

 

mail($to,$subject,$display, $headers);

 

but blank array was send

How to solve this

plz help me

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/238629-need-help-on-check-box/
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.