ronhelp Posted September 23, 2009 Share Posted September 23, 2009 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?? Link to comment https://forums.phpfreaks.com/topic/175279-solved-checkbox-array-not-posting-in-safari-but-works-in-ie/ Share on other sites More sharing options...
ronhelp Posted September 24, 2009 Author Share Posted September 24, 2009 I figured it out it was actually some tags above that were not closed properly that were causing this to happen. Link to comment https://forums.phpfreaks.com/topic/175279-solved-checkbox-array-not-posting-in-safari-but-works-in-ie/#findComment-923906 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.