This code... <?php foreach ($_POST['id'] as $id) { echo $id.'<br />'; foreach ($_POST['hid_name'] as $hid_name) { echo $hid_name.'<br />'; } } ?> Code (markup): Is giving me this... 3 Professional Website Development Annual Website Hosting 4 Professional Website Development Annual Website Hosting Instead of this, which is what I want... 3 Professional Website Development 4 Annual Website Hosting What am I doing wrong??