Ver original$variables = implode(',', $_POST); for($i = 0; $i <= count($variables); $i++){ echo $variables[$i].'<br />'; }