# Cycling through POST values in PHP

**URL:** <https://forum.kirupa.com/t/cycling-through-post-values-in-php/250696>\
**Category:** programming\
**Created:** [January 31, 2008, 5:44pm UTC](https://forum.kirupa.com/t/cycling-through-post-values-in-php/250696 "2008-01-31T17:44:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanel96](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@tanel96](https://forum.kirupa.com/u/tanel96)\
**Post date:** [January 31, 2008, 5:44pm UTC](https://forum.kirupa.com/t/cycling-through-post-values-in-php/250696/1 "2008-01-31T17:44:13Z")

</div>

I have a form with several checkboxes which are created and named dynamically. When i submit that form, how do i find out what elements exaclty were submitted and what are their values ?

For example i could have the following checkboxes:

checkbox6  
checkbox16  
checkbox1  
checkbox5

or, some other time they might be something like this:

checkbox3  
checkbox6  
checkbox7  
checkbox14  
checkbox8  
checkbox5  
checkbox90  
checkbox71
