Jump to content

[SOLVED] Checkbox Array Not Posting in Safari but works in IE


ronhelp

Recommended Posts

I have the following code for a checkbox on one page

 

echo "<input type='checkbox' name='girlattend[]' value='".$row['girl_ID']."' />";

 

Then on the next page I have this:

  $girlattend = $_POST['girlattend'];

    echo "GIRL COUNT: " .count($girlattend);

 

So for example if I have checked 2 boxes off in IE this returns a count of 2

on Safari the same code returns a count of 0.

 

What am I missing??

:confused:

 

 

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.